[antlr-interest] lexer help
Matt Benson
gudnabrsam at yahoo.com
Fri May 2 14:13:28 PDT 2003
I guess I'll generate a prototype and see if I can
figure out what would go into the literals table,
otherwise I can generate the prototype to handle
numerics and just copy over that code.
Thanks,
Matt
--- mzukowski at yci.com wrote:
> If you can reduce your problem to just adding new
> literals to the literals
> table, then you could build the lexer with antlr
> easily and just modify that
> hash table. If you need something more than that
> you will probably be
> better off building it by hand or using a regular
> expression library.
>
> Monty
>
> -----Original Message-----
> From: Matt Benson [mailto:gudnabrsam at yahoo.com]
> Sent: Friday, May 02, 2003 1:53 PM
> To: Antlr List
> Subject: [antlr-interest] lexer help
>
>
> I want to build a Lexer with configurable token
> text;
> that is, I won't know until runtime what
> character(s)
> indicate X token (This is for working with EDI).
> Would I be better off building this by hand, or can
> it
> be easily done with ANTLR? I would like to be able
> to
> match numerals with signs and decimals (I must
> assume
> that the configurable tokens won't be these).
>
> Or, should I build the lexer with ANTLR--once, and
> then modify it?
>
> -Matt
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list