Go port of LLVM's Kaleidoscope Tutorial using the go-llvm/llvm doc bindings.
This is a fully functional clone of the completed tutorial. Currently, I'm refactoring the finished code into ideomatic Go. The lexer and parser are now pretty good. The codegen code, error handling and maybe test integration are what's left. After the refactoring is complete, I will break it back up into chapters and port the text of the tutorial as well.
-
Rob Pike's Lexical Scanning in Go — our lexer is based on the design outlined in this talk.