Building a Compiler in Swift with LLVM, Part 3 of 4: Code Generation to LLVM IR
If you’ve gotten this far in the tutorial, then you’ll have built a Lexer and
Parser for the
Kaleidoscope programming language.
If you haven’t read those, I’d strongly recommend reading Part 1 and Part 2 first. This time we’ll be turning this parser into …
Testing is very important to the state of your application. Coming from a Ruby/Rails background I got to make use of a library called RSpec which allowed me to write beautiful tests. In the world of Swift we have Quick.Read more »