[antlr-interest] Stupid question...

Erik Forbes erikforbes at gmail.com
Tue Apr 25 07:52:20 PDT 2006


Gotcha. :)

I'm probably going to go with the latter approach - syntax directed, that
is. I already have a backend system that I'm going to use, I just wanted an
ANTLR-driven parser to parse the input.

Thanks for the help, everyone. I appreciate it. :)


On 4/25/06, Martin Probst <mail at martin-probst.com> wrote:
>
> There are generally two approaches, one is to have the Grammar create
> an AST - abstract syntax tree - while parsing the source and walk
> that tree afterwards. The other one is called syntax directed
> translation if I'm not mistaken and means that you write actions into
> the grammar ( the {} blocks) that handle the input.
>
> Martin
>
> Am 25.04.2006 um 01:23 schrieb Erik Forbes:
>
> > Okay, this may seem like a stupid question, but...
> >
> > Now that I have a lexer/parser that correctly parses my input...
> > What do I do with it? How do I use the fact that all the tokens in
> > the parser are correctly matched to actually do something with the
> > input? I'm dreadfully lost on this.
> >
> > In case anyone's curious, it's a wiki parser.
> >
> > --
> > Support your local gravity testers -- Skydive!
>
>


--
Support your local gravity testers -- Skydive!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060425/f4bc26e6/attachment.html


More information about the antlr-interest mailing list