How to build a JIT compiler in C++ with LLVM—Mark Leone
At the December 2018 meetup of Utah C++ Programmers, Mark Leone will give us a presentation on how to build a JIT compiler in C++ with LLVM. Food will be provided, so please RSVP so we have a proper headcount.
How to build a JIT compiler in C++ with LLVM by Mark Leone
About the meetup:
In this talk I’ll show how to compile a simple programming language into machine code using the LLVM compiler toolkit. I’ll start with a simple lexer (using re2c) that converts a stream of characters into a stream of tokens (e.g. numbers and identifiers), followed by a simple parser (using recursive descent) that produces a syntax tree. Then I’ll show how to generate LLVM intermediate code (IR), optimize it, and generate machine code using the LLVM JIT engine. Full source code (...)