# 3B.1 简介

Go 采用了递归下降的解析方式进行语法分析，并构建出抽象语法树（Abstract Syntax Tree, AST），解析器以文件为单位进行分析，如果该文件内没有语法错误，则解析器会生成一颗 AST, 该 AST 是后续类型检查的基础。


---

# Agent Instructions: 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:

```
GET https://gocompiler.shizhz.me/3.-golang-bian-yi-qi-yu-fa-fen-xi/3.1-jian-jie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
