An esoteric programming language compiler on LLVM based on Brainfuck
github.com
github.com
If I'm remembering correctly, the original Brainfuck interpreter was 250kb of ASM.
I made one based on GNU Lightning to JIT. Even that can be considered a pretty huge dependency:
https://github.com/cslarsen/brainfuck-jit
The interesting part is how slow a one-to-one translation of Brainfuck code to machine code will run without any optimizations. That's where the speed comes from, entirely based on those sweet optimizations. So writing one yourself is a rite of passage, like writing a Mandelbrot renderer.
The above project, from the looks of it, looks quite mature, and therefore interesting in its own right.
I was more hoping someone might be able to shed light on why LLVM would be a good fit for something that it looks like it might be overkill for. Might just be it's what the authour/s are familiar with.
Anyways, I threw one together for WASM: https://github.com/serprex/brainwebfuckassembly