from Hacker News

Ask HN: Hands-On Guide to Writing Parsers?

by not-so-darkstar on 6/22/25, 9:42 AM with 0 comments

Do you know any practical books that show how to implement a parser starting from a CF grammar (preferably in C)?

All compiler books lack the practical part. I would like to see how to build a LL parser algorithmically in a language like C that doesn't abstract things away (I could use OCaml but I feel I wouldn't learn as much since it's so high level).