[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parse tree
From: |
Akim Demaille |
Subject: |
Re: parse tree |
Date: |
22 Apr 2002 17:25:41 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
>>>>> "Aurelian" == Aurelian Melinte <<address@hidden> (by way of Hans Aberg)>
>>>>> writes:
Aurelian> Do you know a parser generator that a)is LL, b)is GPL and
Aurelian> c)is C/C++ and generates C/C++ code. Looks like this is what
Aurelian> I am looking for :)
Have a look at ANTLR.
http://www.antlr.org/
NAME
ANTLR - ANother Tool for Language Recognition
SYNOPSIS
java antlr.Tool ["args"] file.g
DESCRIPTION
ANTLR, ANother Tool for Language Recognition, (formerly
PCCTS) is a language tool that provides a framework for
constructing recognizers, compilers, and translators from
grammatical descriptions containing C++ or Java actions.
-o outputDir
specify output directory where all output gener
ated.
-glib superGrammar
specify location of supergrammar file.
-debug launch the ParseView debugger upon parser invoca
tion.
-html generate an html file from your grammar (minus
actions).
-diagnostic
generate a textfile with diagnostics.
-trace have all rules call traceIn/traceOut.
-traceParser
have parser rules call traceIn/traceOut.
-traceLexer
have lexer rules call traceIn/traceOut.
-traceTreeParser
have tree parser rules call traceIn/traceOut.
- Re: parse tree, Aurelian Melinte, 2002/04/22
- Re: parse tree,
Akim Demaille <=