Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: How to create a parser from an [AE]BNF grammar

by Anonymous Monk
on Sep 02, 2013 at 21:25 UTC ( #1051983=note: print w/replies, xml ) Need Help??

in reply to How to create a parser from an [AE]BNF grammar

Yes, what you do is you write a ABNF parser using one of those grammars, then you parse your abnf into one of those grammars, and then you're done :)

Oh look, Convert Augmented BNF (ABNF) to Regexp::Grammars

OTOH, (I think) SLIF has a few good points about BNF

  • Comment on Re: How to create a parser from an [AE]BNF grammar

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2016-10-26 16:51 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (344 votes). Check out past polls.