[antlr-interest] A simple Visual C++ example
Ric Klaren
ric.klaren at gmail.com
Fri Dec 10 04:57:58 PST 2004
On Fri, 10 Dec 2004 12:19:09 -0000, eugene_babeshko
<eugene_babeshko at yahoo.com> wrote:
> Can somebody give me a simple antlr example in Visual C++ 6.0? For
> example, a program that parses string and gives output to console:
>
> Input: 2+3
> Program output: 5
Check out examples/cpp/calc of the distribution. Main2.cpp and
Main3.cpp demonstrate ways of how you feed a string to an antlr
parser. The .g file contains a simple expression parser evaluator.
Cheers,
Ric
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list