Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Parsing BNF syntax diagrams..

by eric256 (Parson)
on Aug 21, 2004 at 00:03 UTC ( #384734=note: print w/replies, xml ) Need Help??


in reply to Parsing BNF syntax diagrams..

While I haven't gotten to read the code (or couldn't :) ) but it seems like it would be best to map these two a 2 diminsional array. Move the continuations up and attatch them. Then start at the begining and travel along. Maybe even build an OO representation of choices etc that then condenses down into your final BNF. Looks kinda like fun once you start thinking about it much. :)


___________
Eric Hodges

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2019-08-24 18:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?