While I believe my blog posts on the topic are important to read for
anyone interested in a Marpa-powered Perl parser, I think it'd be best
to start the actual code either from scartch, or by looking at another
more up-to-date example of a Perl parser. Jean-Damien has done a couple
of parsers for large languages -- one for C and one for ECMAScript.
Perl is bison based, so there is BNF in the Perl source code.
The code for my own effort is in the test suite. It predates the SLIF
and many of its approaches are things I would not do now. If I were
resuming work on a Perl parser now, I probably wouldn't even glance at it.
-- jeffrey
On 05/12/2014 08:25 AM, Ed Avis wrote:
Some Marpa blog posts talk about a prototype grammar for Perl code, to be
called Marpa::Perl. Is this available anywhere?
I would like to use it as an approximate syntax checker, to discard Perl code
which is obviously syntactically badly-formed as part of randomly generated
test cases. So if it still has some bugs and rough edges that should be OK.
--
You received this message because you are subscribed to the Google Groups "marpa
parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to marpa-parser+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.