Related articles |
---|
GPL parser/convertor generator available paul.janssens@skynet.be (Paul Janssens) (1999-04-01) |
From: | Paul Janssens <paul.janssens@skynet.be> |
Newsgroups: | comp.compilers |
Date: | 1 Apr 1999 00:56:18 -0500 |
Organization: | Belgacom Skynet SA/NV |
Keywords: | parse, tools, comment |
Hello,
version 0.0.1 of masterplan, a GPL parser/convertor generator is now
available from http://users.skynet.be/mp/mp001.tar.Z
You'll need gcc, bison and flex (or equivalents) to build the executable
and the parsers/convertors.
masterplan allows input in a BNF style syntax,
for instance, the input
a: b* ;
will generate yacc code
a:
{$$=list_newempty();}
| a b {$$=list_addelement($1,$2)}
;
and you can use expression syntax with arbitrary nesting like
a: (b [ c d*])+ ;
Paul Janssens - paul.janssens@skynet.be
[I always wondered why nobody'd done an EBNF version of yacc. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.