Hacker News new | past | comments | ask | show | jobs | submit login

How difficult was it to make this in a different language than the one used on the book?



Readers have ported the code in the book to many languages already:

https://github.com/munificent/craftinginterpreters/wiki/Lox-...

That means it's either not too hard to do yourself, or at the very least you can use their ports as a reference as you work through the book.


Of course Rust has the longest list in something like this.

Thanks for the book by the way, I'm picking it up for the first time now


Pretty easy, it uses Java and C and didn't use any "exclusive features" of them


How about external libs?


The code in the book deliberately uses no external dependencies. You'll be fine. :)


I've been using C++20 and I haven't run into any Java I couldn't translate yet.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: