Writing a lisp compiler from scratch in JavaScript: 3. LLVM

from blog Notes on software development, | ↗ original
Previously in compiler basics: 1. lisp to assembly 2. user-defined functions and variables Next in compiler basics: 4. LLVM conditionals and compiling fibonacci 5. LLVM system calls 6. an x86 upgrade In this post we'll extend the compiler to emit LLVM IR as an option instead of x86 assembly. All source code is...