Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Core computer science in Perl

by Jeffrey Kegler (Friar)
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.

Comment on Re: Core computer science in Perl

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://835221]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-11-27 14:23 GMT
Find Nodes?
    Voting Booth?

    My preferred Perl binaries come from:

    Results (184 votes), past polls