Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
chai2010 a8356737f8 | 1 year ago | |
---|---|---|
appendix | 1 year ago | |
ch1 | 1 year ago | |
ch2 | 1 year ago | |
ch3 | 1 year ago | |
ch4 | 1 year ago | |
ch5 | 1 year ago | |
ch6 | 1 year ago | |
ch7 | 1 year ago | |
ch8 | 1 year ago | |
ch9 | 1 year ago | |
ch10 | 1 year ago | |
ch11 | 1 year ago | |
ch12 | 1 year ago | |
ch13 | 1 year ago | |
ch14 | 1 year ago | |
ch15 | 1 year ago | |
ch16 | 1 year ago | |
images | 1 year ago | |
js | 1 year ago | |
theme | 1 year ago | |
.bookignore | 5 years ago | |
.editorconfig | 5 years ago | |
.gitignore | 5 years ago | |
LICENSE | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago | |
SUMMARY.md | 1 year ago | |
book.toml | 1 year ago | |
cover.jpg | 1 year ago | |
index.md | 1 year ago | |
preface.md | 1 year ago | |
style.css | 1 year ago | |
weixin-guanggu-coder.jpeg | 1 year ago |
Go语法树是Go语言源文件的另一种语义等价的表现形式。而Go语言自带的go fmt
和go doc
等命令都是在Go语法树的基础之上分析工具。因此将Go语言程序作为输入数据,让我们语法树这个维度重新审视Go语言程序,我们将得到创建Go语言本身的技术。Go语法树由标准库的go/ast
包定义,它是在go/token
包定义的词法基础之上抽象的语法树结构。本书简单介绍语法树相关包的使用。如果想从头实现一个玩具Go语言可以参考《从头实现µGo语言》。
如果你喜欢本书,欢迎到豆瓣评论:
增加了基于 Github 的 留言功能 和 mermaid 绘图功能,需要安装以下工具:
然后执行 mdbook serve
本地打开服务,或者 mdbook build
构建。
《Go2编程指南》开源图书,重点讲解Go2新特性,以及Go1教程中较少涉及的特性
Go C Handlebars JavaScript Markdown other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》