[antlr-interest] Newby - How to use Parser/Lexer in Code?

Harris, Tobin tobin at tobinharris.com
Tue May 29 00:45:18 PDT 2007


>> custom :// user : pass @ someserver : 1000 / folder ? query = blah
>> 
>> [snip]
>
>	If all you are doing is find the URL as above, ANTLR is very
much the wrong 
>thing to use.

Hi Timothy

Thanks for this, I did suspect weather ANTLR would be considered
overkill. What would be the right tool to use? 

I considered RegEx, but expressions get unmaintainable quite quickly. I
also considered manually splitting/parsing the input, but though there
must be a better way?

Thanks

Tobin 




More information about the antlr-interest mailing list