Giter Club home page Giter Club logo

go-ast-book's Introduction

《Go语言定制指南》(原名:Go语法树入门)


Go语法树是Go语言源文件的另一种语义等价的表现形式。而Go语言自带的go fmtgo doc等命令都是在Go语法树的基础之上分析工具。因此将Go语言程序作为输入数据,让我们语法树这个维度重新审视Go语言程序,我们将得到创建Go语言本身的技术。Go语法树由标准库的go/ast包定义,它是在go/token包定义的词法基础之上抽象的语法树结构。本书简单介绍语法树相关包的使用。如果想从头实现一个玩具Go语言可以参考《从头实现µGo语言》

购买链接:

如果你喜欢本书,欢迎到豆瓣评论:

MdBook 构建

增加了基于 Github 的 留言功能mermaid 绘图功能,需要安装以下工具:

然后执行 mdbook serve 本地打开服务,或者 mdbook build 构建。

微信公众号

版权

版权 柴树杉史斌丁尔男,保留相关权力。此内容仅针对Github平台用户免费在线阅读。

go-ast-book's People

Contributors

abusizhishen avatar alexanyang avatar cengsin avatar chai2010 avatar cluas avatar hetiansu5 avatar koulerz avatar kumakichi avatar lujiahaoo avatar menduo avatar ns-cn avatar panda8z avatar razonyang avatar songjiayang avatar songzhibin97 avatar tk103331 avatar wertasy avatar yntor avatar yuancccc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.