3 ms·
I'd like to learn more about formal grammars and parsing in depth. Can anyone recommend a good textbook?
by ianhorn 6y ago
I'd like to learn more about formal grammars and parsing in depth. Can anyone recommend a good textbook?
- sparkie 6y agoEngineering a Compiler by Cooper & Torczon covers the theory behind Regular expressions, LL and LR parsing.
- ianhorn 6y agoEveryone in this thread seems to be saying Pratt and PEG matter most, which I don't see in that book. Any recs on that front? (Or do you think they're not important?)
- sparkie 6y agoI recommend becoming familiar with the theory and making the decision for yourself. My personal preference is pretty much the same as Tratt's, except I never had an aversion to LR grammars to begin with. I always found them intuitive. I had used them before understanding the theory.
- ianhorn 6y agoThanks!