Comment Comment by finiteloop As someone who writes a lot of toy languages, I made this scaffolding for a LLVM-based compiler: https://github.com/finiteloop/compilerIt uses Bison and Flex for parsing and lexing unlike this post, but may be a useful starting point for those building their own toy languages. parent finiteloop 5 years ago
It uses Bison and Flex for parsing and lexing unlike this post, but may be a useful starting point for those building their own toy languages.