3 ms·
No, not at all. That's precisely what the book is about: what is a lexer? how do I build one? what is a parser? what is a recursive descent parser? I tried to
by misternugget 10y ago
No, not at all. That's precisely what the book is about: what is a lexer? how do I build one? what is a parser? what is a recursive descent parser?
I tried to make the code as easy to understand as possible, always thinking: "would someone who's never written an interpreter understand this?"
- norbertfuhs 10y agoGreat thats exaclty what I always wanted to know about. I'm sure I'll buy the book! I always wanted to know howto implement an own little scripting language which could be used inside Go projects.
- misternugget 10y agoWell, I couldn't describe a better use case, even if I tried. Check out the free sample, which shows how to build a lexer/scanner/tokenizer.