3 ms·
I didn't see mention of first/follow sets. Might be handy to have that in there?
by JustSomeNobody 10y ago
I didn't see mention of first/follow sets. Might be handy to have that in there?
- munificent 10y agoOne of the hardest things about writing a book is deciding what to not include. This chapter is already over 7k words, which is longer than I'd like. First/follow sets are useful but I haven't found them that useful to think about in my own parsers, so I left them out.
- JustSomeNobody 10y agoFair point.
- UK-AL 10y agoA good grasp on first and follows sets is essential if you are building a bottom up parser. Not so much for recursive descent.