Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Core computer science in Perl

by Jeffrey Kegler (Hermit)
on Apr 17, 2010 at 02:35 UTC ( #835221=note: print w/replies, xml ) Need Help??

in reply to Core computer science in Perl

Perhaps you might also want to look at my new parser generator, Marpa. Marpa is based on recent improvements to Earley's algorithm and is a general parser generator. It will parse from any grammar that you can write as BNF, without restriction. It handles ambiguity, left-recursion, right-recursion, you name it.

Speeds seem quite acceptable in practical instances. I've written an HTML parser based on Marpa, Marpa::HTML, which is also on CPAN. That distribution contains an HTML pretty-printing utility, which I find useful in my own work.

General BNF parsing has been neglected over the recent past and, despite signs it can be quite practical, has not resulted in any tools in widespread use. I hope Marpa will make BNF useable in the same way that regular expressions are now.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://835221]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2018-03-17 11:33 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (224 votes). Check out past polls.