> For the complete documentation index, see [llms.txt](https://emacs-lisp.ivory.cafe/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://emacs-lisp.ivory.cafe/qiu-zhi/biao-da-shi/10.2.2-fu-hao-biao-da-shi-done.md).

# 10.2.2 符号表达式（DONE）

对符号求值时，该符号会被当成变量。如果这个符号的变量部分有值，那么其求值的结果便是该变量部分的值。如果这个符号没有对应的变量值，那么 Lisp 解释器会抛出一个错误。查阅变量章节以获取更多信息。

在下面这个例子中，我们使用 setq 给符号设置一个值。然后，我们对该符号求值，获得其 用 setq 储存的值。

```
(setq a 123)
     ⇒ 123
(eval 'a)
     ⇒ 123
a
     ⇒ 123
```

符号 nil 和 t 是两个特例，nil 的值永远是 nil，t 的值永远是 t；你不能将它们和其他的值绑定。因此，这两个符号看起来很像 自求值表达式，甚至 eval 都将它们单独考虑。此外，以":"开头的符号同样为自求值；类似的，它们的值通常也不能改变。查阅 常数变量。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://emacs-lisp.ivory.cafe/qiu-zhi/biao-da-shi/10.2.2-fu-hao-biao-da-shi-done.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
