Re: c++ class generator from BNF

"Quinn Tyler Jackson" <qjackson@wave.home.com>
20 Jul 1999 01:09:03 -0400

          From comp.compilers

Related articles
c++ class generator from BNF e9102400@stud4.tuwien.ac.at (Irina Tchepkasova) (1999-07-19)
Re: c++ class generator from BNF qjackson@wave.home.com (Quinn Tyler Jackson) (1999-07-20)
| List of all articles for this month |
From: "Quinn Tyler Jackson" <qjackson@wave.home.com>
Newsgroups: comp.compilers
Date: 20 Jul 1999 01:09:03 -0400
Organization: Compilers Central
References: 99-07-074
Keywords: tools, parse

Irina Tchepkasova <e9102400@stud4.tuwien.ac.at> wrote


> So in other word a program must be written (with C++ object oriented)
> that has as argument input file with a specification in BNF Form. This
> program must generate a couple of files (*.cpp and *.h) which will
> describe classes.


I have a compiler-compiler that is written entirely in C++ (command line) that
will take a grammar specification file (in a somewhat EBNF format, but not
quite) and turn it into a C++ class that will parse files that meet that
specification. Essentially, it is a command line version of PAISLEI, which is
found at:


        http://www.qtj.net/~lpm/


I would be willing to send the source code to the command line compiler
version of the grammar class generator to anyone wishing to examine it in a
verifiably non-profit context, such as academic research.


--
Quinn Tyler Jackson
http://www.qtj.net/~quinn/


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.