Hacker News new | ask | show | jobs
by eschaton 4957 days ago
The main LLVM codebase includes a BF compiler as an example: https://llvm.org/svn/llvm-project/llvm/trunk/examples/BrainF...

See BrainF.cpp in particular.

It's a decent first illustration of the great level of abstraction LLVM offers.