Hello,
Does anyone know of an Rb project or unix command line tool that can
take as input, a text file and a BNF or EBNF grammar file and produce
a "structured" XML document of parse? I would like to then use XPath
queries on the XML to pull out the data -- XPath makes this a more
flexible/general approach than converting the parsed file to a
hierarchy of Rb objects. I have Jon Johnson's Morphe project, but it
does not produce XML, but I'm looking for something production ready.
I am going to be using this parsing component very shortly and don't
have the time budget to implement & test the modifications I'd have
to make his code (which I'm sure is very robust) -- I'm just looking
for something that is ready-to-go.
An example of the BNF I'd be working with is on this page: <http://
www.w3.org/TR/SVG/paths.html>
Any suggestions would be appreciated. :)
Thanks,
John
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>