Re:Show HN: Writing my first interpreter in C for fun
by pjmlp on Wednesday June 22, 2016 @07:27AM
(#11952944)
You should of course use a tool that supports the grammar productions of the language being designed.
I just listed a few examples.
Re:Show HN: Writing my first interpreter in C for fun
by groovy2shoes on Wednesday June 22, 2016 @04:16AM
(#11952273)
Menhir is hardly a 70s tool...
Re:Show HN: Writing my first interpreter in C for fun
by 99189198191 on Wednesday June 22, 2016 @04:44AM
(#11952344)
This is true of course. But it is ocamlyacc compatible and uses a separate lexer.
I'd at least say that it is using the lex/yacc approach, which I actually like.
Give me the 70's tools any day.