Small Go compiler written in Go. I aim to implement the self-hosting. (not yet)
go run main.go INPUT
macOS (my environment: 10.14 Mojave, gcc 4.2.1)
- “The Go Programming Language Specification”. https://golang.org/ref/spec
- Rui Ueyama, “低レイヤを知りたい人のためのCコンパイラ作成入門”. https://www.sigbus.info/compilerbook
- Thorsten Ball, Writing An Interpreter In Go.
- Thorsten Ball, Writing A Compiler In Go.
MIT