[antlr-interest] Newby - How to use Parser/Lexer in Code?
Timothy Reaves
treaves at silverfieldstech.com
Mon May 28 08:04:34 PDT 2007
Jim Idle wrote:
> Best this is to buy the book, but for pure examples, check out the
> examples tar from the download page – that should get you going, but I
> can’t remember if the C# stuff is there yet.
>
>
>
> Jim
>
--snip--
> This shows
>
>
>
> custom :// user : pass @ someserver : 1000 / folder ? query = blah
>
>
>
> At this point I’m guessing I need to start working with the tree to make
> my program extract the tokens, work out what they are, and implement the
> desired functionality? However, I don’t really know what I’m doing! Does
> anyone know of any up-to-date simple examples of this that show a
> grammar actually being consumed and used in a program? Can anyone
> recommend the best next steps to take?
>
If all you are doing is find the URL as above, ANTLR is very much the wrong
thing to use.
More information about the antlr-interest
mailing list