# 3.a 语法分析理论知识

- [3A.1 语法分析简介](https://gocompiler.shizhz.me/3.b-yu-fa-fen-xi-li-lun-zhi-shi/3.1-yu-fa-fen-xi-jian-jie.md)
- [3A.2 文法](https://gocompiler.shizhz.me/3.b-yu-fa-fen-xi-li-lun-zhi-shi/3.2-wen-fa.md)
- [3A.3 语法解析](https://gocompiler.shizhz.me/3.b-yu-fa-fen-xi-li-lun-zhi-shi/3.3-yu-fa-jie-xi.md)
- [3A.3.1 自顶向下（Top-Down）](https://gocompiler.shizhz.me/3.b-yu-fa-fen-xi-li-lun-zhi-shi/3.3.1-zi-ding-xiang-xia-topdown.md)
- [3A.3.2 自顶向下 - 递归下降](https://gocompiler.shizhz.me/3.b-yu-fa-fen-xi-li-lun-zhi-shi/3.3.2-zi-ding-xiang-xia-di-gui-xia-jiang.md)
- [3A.3.3 自顶向下 - LL(1)文法](https://gocompiler.shizhz.me/3.b-yu-fa-fen-xi-li-lun-zhi-shi/3.3.3-zi-ding-xiang-xia-ll1-wen-fa.md): 预测/匹配 解析器（Predicate/Match Parser）
- [3A.3.4 自底向上（Bottom-Up）](https://gocompiler.shizhz.me/3.b-yu-fa-fen-xi-li-lun-zhi-shi/3.3.4-zi-di-xiang-shang-bottomup.md)
- [3A.3.5 自底向上 - LR(0)项集及SLR预测表](https://gocompiler.shizhz.me/3.b-yu-fa-fen-xi-li-lun-zhi-shi/3.3.5-zi-di-xiang-shang-lr0-xiang-ji-ji-slr-yu-ce-biao.md)
- [3A.3.6 自底向上 - LR(1)、LALR](https://gocompiler.shizhz.me/3.b-yu-fa-fen-xi-li-lun-zhi-shi/3.3.6-zi-di-xiang-shang-lr1lalr.md)
- [3A.4 语法分析工具](https://gocompiler.shizhz.me/3.b-yu-fa-fen-xi-li-lun-zhi-shi/3.4-yu-fa-fen-xi-gong-ju.md)
- [3A.5 总结](https://gocompiler.shizhz.me/3.b-yu-fa-fen-xi-li-lun-zhi-shi/3.5-zong-jie.md)


---

# 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.b-yu-fa-fen-xi-li-lun-zhi-shi.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.
