Crafting Interpreters
craftinginterpreters.com
Crafting Interpreters
1–10 of 193 posts
Re: Crafting Interpreters
#2Mad respect to those with that kind of dedication, and everyone working to keep all the dev infrastructure going, but I'm super glad my "I want to make a language" phase was just a passing interest!
That's just a crazy amount of work!
Re: Crafting Interpreters
#3Is this book still relevant?
Re: Crafting Interpreters
#4I just finished the second half, it's a great book! I recommend doing one or two of the proposed challenges in each chapter to reinforce your understanding of the content.
Re: Crafting Interpreters
#5Is this book still relevant?
Definitely. I just went through the first 60% or so and it's great. The language is java but it's easy to translate to other languages, which would be a good learning exercise in its own right.
Re: Crafting Interpreters
#6Is this book still relevant?
It's a 3 year old book on compilers, so if it was ever relevant once, it surely still is today!
Re: Crafting Interpreters
#7Is this book still relevant?
Yes, very much so. Why wouldn't it be? Can you recommend a better resource for learning how to create a programming language from first principles?
I just started it today, which I why I felt the inclination to create this post.
Re: Crafting Interpreters
#8I feel like this is a book most programmers should work through at some point or another. Doing so made me really appreciate just what's going on inside a compiler / language toolkit. It's also one of the most well written technical guides I've ever followed, it really helped me internalize the concepts, and they are useful all over the place, not just in compilers.
Re: Crafting Interpreters
#9The author is one of the lead developers for Dart, which has evolved over time into a pretty nice language.
Re: Crafting Interpreters
#10The lex and yacc utilities are part of POSIX.2; is there any reason not to reach for them first?
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/l...
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/y...
All the POSIX.2 standards for shell utilities can be found here:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/
The original introduction to lex and yacc was in the book by Kernigan and Pike:
https://scis.uohyd.ac.in/~apcs/itw/UNIXProgrammingEnvironmen...