[antlr-interest] problem about "the code for the static initializer is exceeding the 65535 bytes limit"

Jim Idle jimi at temporal-wave.com
Wed Aug 15 13:53:42 PDT 2012


Ha - true, but the poster still has to write a lexer/parser to deal with
it. In this case though, I would still deal with it in the parser, not the
lexer as the parser has some context for the decision.

... PIC { getMask(); /* Code to pick up the mask tokens and concatenate */
}


Jim


> -----Original Message-----
> From: Trevor John Thompson [mailto:tijet at mac.com]
> Sent: Wednesday, August 15, 2012 1:21 PM
> To: Francis ANDRE
> Cc: Jim Idle; parrt at cs.usfca.edu >> Terence Parr; antlr-
> interest at antlr.org
> Subject: Re: [antlr-interest] problem about "the code for the static
> initializer is exceeding the 65535 bytes limit"
>
> On 2012 Aug 15, at 13:08, Francis ANDRE
> <francis.andre.kampbell at orange.fr> wrote:
>
> >  Just as an exemple, Natural allows this kind of syntaxes
> >
> > 99 / 99                   which means : divide 99 by 99
> > 99/99                    which is a mask for date number editing
>
> This only demonstrates that Natural is an atrociously bad design for a
> language.
> Try viewing it in a variable width font to see why.
> --
> Trevor John Thompson    (425) 246-4023
> tijet at me.com
> Quidquid Latine scriptum sit, altum videtur.


More information about the antlr-interest mailing list