[antlr-interest] REAL or int or Range
Alexander Gängel
alexander at gaengel.de
Tue Jan 22 07:05:52 PST 2008
ok, I see.
is there any workaround ?
cause the Language I try to parse not only allows int real and rang but
also functions like 13.div(2) so if the lexer could distinguish '.' and
'..' I think this would not be such an hard Problem then.
Alexander
Gavin Lambert schrieb:
> At 22:32 22/01/2008, Alexander Gängel wrote:
>
>> Ok so it works, but shouldn't LL(*) distinguish between '.' and '..'
>
> Arguably yes, but the lookahead in the lexer definitely seems to be
> biased towards only LL(1) at the moment. Ter said he's going to look
> into it sometime.
>
>
More information about the antlr-interest
mailing list