Building a Compiler
Contents
Lexer
produces tokens
Take the input and pass tokens to the parser.
Excellent talk rob pike - Lexical Scanning in Go
Parser
llvm ir in golang
https://blog.gopheracademy.com/advent-2018/llvm-ir-and-go/
https://www.aosabook.org/en/llvm.html