Designing a Simple Compiled Programming Language from Scratch

Have you ever wondered how difficult it would be to design and implement a simple compiled programming language completely from scratch - no parsing libraries, no LLVM for code generation (though I'll allow myself off-the-shelf assemblers and linkers)? I have. It's something I've been thinking about for a long time, and now I finally have enough time to actually try it. So here it is: a super simple, yet Turing complete, compiled programming language. It's loosely inspired by Rust, but it lacks most of Rust's features. The documentation is coming soon. As for performance — it's pretty bad. I'm missing virtually every code generation optimization you'd get from LLVM. But hey, it’s still faster than #Python. #Rust https://lnkd.in/gnN5hdWm

  • No alternative text description for this image

Ironically, I’ve also recently started a very similar project. Cool!

To view or add a comment, sign in

Explore content categories