Building your own computer language
Just code it
If you wanted to build your own computer language, but didn’t know how to start or thought you didn’t have time and skills to do this, then look no harder then the Crafting Interpreters book by Bob Nystrom on building a computer language from scratch. That’s it from the very beginning to the full fledged object oriented stuff.
Where do I find it?
Just visit this web page where Bob has a free of charge web book, still in the process of writing, were you can start to build you own language. You can call it BestLangEver or even something like Jabba, etc. The book is very detailed and explains thing in a clear and easy to understand manner. Thanks to the book I was able to understand how a Mark-and-Sweep garbage collector works and can be quite easily implemented. Bob has done a great work of bringing the art of language design to the masses.
- The GitHub accompanying repository for the Crafting Interpreters book.
- By the way, early readers implemented Lox in different languages already. So you are next to do the same.
What are you waiting for?
Published on Java Code Geeks with permission by Andrei Cheremskoy, partner at our JCG program. See the original article here: Building your own computer language Opinions expressed by Java Code Geeks contributors are their own. |
Such an interesting article
Thanks for sharing!
You are talking about computer languages but I want to learn more foreign ones for real communications. I am not against programmers but I think that we all started to forget about the importance of various cultures. The pandemic will end and we will travel again. I spend a lot of time on this website to prepare for those times.