2 ms·
I'd be surprised if it were easier than LLVM, which is pretty easy. But if you want to make a language you should absolutely not get hung up on technology. Eve
by fusiongyro 14y ago
I'd be surprised if it were easier than LLVM, which is pretty easy.
But if you want to make a language you should absolutely not get hung up on technology. Even though it's very dated, Crenshaw's "Let's Build a Compiler" can teach you everything you need to get started building languages from scratch and by hand, and it moves pretty fast too:
http://compilers.iecc.com/crenshaw/ http://compilers.iecc.com/crenshaw/
There are other tutorials out there which will get you places. The first thing to do, really, is make a sketch of the language as you'd like to use it, and get excited about that, and then sit down and implement bits of it at a time. Compiler/interpreter writing is extremely rewarding—you get a lot of payback for your investment. Good luck!