News for hackers. Stuff that matters.
Re:Ask HN: Good Resources to Learn and Implement a Parser (C... by x0re4x on Tuesday February 15, 2022 @12:50AM (#30343268)
@LeSUTHU:

* if you want to design and play around with your grammar (builtin interpreter is very nice to try things out):

https://www.antlr3.org/works/

* once you want to actually implement your language:

https://cs3110.github.io/textbook/chapters/interp/intro.html

* some older tutorials:

https://web.archive.org/web/20051220013748/http://pllab.kais...

https://web.archive.org/web/20051220043933/http://pllab.kais...

NOTE: modern replacement for ocamlyacc: http://gallium.inria.fr/~fpottier/menhir/

There are no comments on this comment yet.