[FRPythoneers] Re: [lug] MEAS Data file format
Wed, 16 Aug 2000 17:24:32 -0600
Evelyn Mitchell wrote:
> On Wed, Aug 16, 2000 at 04:15:54PM -0600, Wayde Allen wrote:
> > On Wed, 16 Aug 2000, David wrote:
> > > Yes, I see what you mean. So, what I meant was: "Write a formal
> > > grammar"; probably a BNF grammar.
> > OK you got me on this one. What is BNF?
> Backus-Naur Form.
> A simplified version can be found at:
We have a tool called BisonGen that takes a pretty simple XML format
(EBNF ish) and generates:
A Bison file
A swig wrapper file
A C file to help wrapping
And a python file to interface the parser. (actually 3 depending on how
you would like to access the information).
All you really need are the XML and the lex file. (we are also working
on getting the lex integrated into the XML).
I know this used to be on our web site. I can package it up if anyone
is interested. We use it to generate all of our parsers (XPath, XSLT,
Odl, Oql, Oif, and Ril). Be forwarned though, the reason we haven't
publiccly released it yet is we are still working on docs....
Please let me know if anyone is interested.
> You may want to do a Jackson Diagram (its a bit simpler)
> Each of the boxes is essentially a line in the file format
> Asterisk indicates zero or more
> Circle indicates one or the other
> This is described in "Practical Software Requirements:
> A Manual of Content and Style" by Benjamin L. Kovitz (I
> highly recommend this book. Kovitz is a local author and
> would be great to get for FRPythoneers, or BLUG).
> Evelyn Mitchell
> http://www.tummy.com/ Consulting and Software for Linux and Unix
> KRUD - Kevin's Red Hat Uber Distribution - the Freshest Red Hat every month
> This message sent by the FRPythoneers mailing list.
> Unsubscribe: echo unsubscribe | FRPythoneersemail@example.com
> URL: http://lists.tummy.com/mailman/listinfo/frpythoneers
Mike Olson Principal Consultant
firstname.lastname@example.org (303)583-9900 x 102
Fourthought, Inc. http://Fourthought.com
Software-engineering, knowledge-management, XML, CORBA, Linux, Python