• Top
  • New

Ask HN: Hands-On Guide to Writing Parsers?

by not-so-darkstar on 6/22/2025, 9:42:33 AM with 1 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).

  • by not-so-darkstar on 6/24/2025, 11:27:46 AM

    bump