Coder Social home page Coder Social logo

bruce-zzz / go-ast-book Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chai2010/go-ast-book

0.0 0.0 0.0 5.15 MB

:books: 《Go语言定制指南》(原名:Go语法树入门/开源免费图书/Go语言进阶/掌握抽象语法树/Go语言AST)

Home Page: https://chai2010.cn/go-ast-book

JavaScript 2.16% C 3.19% Go 85.94% CSS 0.55% ANTLR 0.14% Makefile 0.30% Handlebars 6.81% LLVM 0.11% Yacc 0.47% Lex 0.24% CWeb 0.08%

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

chai2010 avatar kumakichi avatar koulerz avatar cluas avatar abusizhishen avatar panda8z avatar lujiahaoo avatar razonyang avatar hetiansu5 avatar alexanyang avatar menduo avatar ns-cn avatar songjiayang avatar songzhibin97 avatar tk103331 avatar wertasy avatar yntor avatar yuancccc avatar cengsin 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.