Skip to content

Ask HN: Hands-On Guide to Writing Parsers?

1 pointnot-so-darkstar1 comment
On HN

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).

Comments

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.