I would like to write simple parser in Perl that mainly provide an additional layer over an existing language. I was looking at Parse::Yapp
, Parse::Lex
or even Marpa::R2
, but the only concrete example is always the same: a simple calculator that does 43 * 8 + 1
. I cannot easily find any other examples so I am wondering if these packages are still a good choice to implement a parser.
Are Parse::Yapp
, Parse::Lex
or Marpa::R2
still a good solution over a hand-rolled approach?
Where can I find more examples and documentation on these modules? The CPAN pages are usually pretty empty