News for hackers. Stuff that matters.
Re:Ask HN: Writing an Interpreter in Go or Crafting Interpre... by agarren on Monday April 21, 2025 @11:18PM (#43758809)
I really enjoy Crafting Interpreters, but I’ve revisited it a couple times and haven’t yet made it through half the book. It’s very well written and there’s a lot of material to chew on. That said, Writing an Interpreter in Go, is short, sweet, and the Pratt Parser implementation and explanation are great! I haven’t cracked open his compiler book yet, but the interpreter book was a breeze.
Re:Ask HN: Writing an Interpreter in Go or Crafting Interpre... by markus_zhang on Tuesday April 22, 2025 @12:50PM (#43764104)
Yeah I agree lox has a bit of too many features. I didn't complete the interpreter part and now I'm diving into the VM part. I'm not particularly interested in the more advanced stuffs. I won't get a compiler job anyway.