Related articles |
---|
LRG parser table generator available via ftp ndc@icanect.net (Norman Culver) (1996-07-13) |
From: | Norman Culver <ndc@icanect.net> |
Newsgroups: | comp.compilers |
Date: | 13 Jul 1996 21:59:36 -0400 |
Organization: | Oxbow Software |
Keywords: | tools, parse, available, FTP |
I've had numerous requests for the source to LRG and, kindly,
it has been set up for ftp from:
ftp://ftp.cs.uoregon.edu/pub/bart/lrg.zip
ftp://ftp.cs.uoregon.edu/pub/bart/lrg.tar.Z
LRG is an LR1 generator which operates on both the phrase structure
and lexical grammars from one file. Terminals in the phrase structure
grammar are automatically added to the lexer productions. The EBNF
is modeled after LALR by Paul Mann. i.e the grammar is very easy
to read and contains references to actions not the action code itself.
The lexical grammar can contain actions too.
Souce for a parser/lexer is included as well as the actual
grammars for lrg and c.
The parser expects to be in an environment which contains a dynamic
linker and database so that it can load the appropriate language
tables and find/link/load the actions and automatic node ids
to the callers code. It generates an automatic AST.
--------------------------------------------------------
Norman David Culver ndc@icanect.net (954)463-4754
Oxbow Software 1323 SE 17th St. Ft. Lauderdale, FL 33316
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.