[antlr-interest] "code too large" / can't split AST output into smaller files

Andreas Stefik stefika at gmail.com
Mon Oct 11 05:30:30 PDT 2010


>> Is this a limitation in Java?
>
> Not really, it's a limitation in Oracle's Java compiler.  The compiler
> could automatically partition the method into several smaller methods
> when it hits the limit.  Not doing this is a bit like having a C
> compiler which refuses to allow declaring more than five local
> variables because the target architecture has only got five
> callee-saved registers.
>


Interesting. I didn't realize these limitations existed.

Stefik


More information about the antlr-interest mailing list