We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionGeneral Discussion,  Status › preprocessor in version 1.1
Page Index Toggle Pages: 1
preprocessor in version 1.1 (Read 1097 times)
preprocessor in version 1.1
May 14th, 2009, 6:01pm
 
Why does the preprocessor only recognize java 1.1? it's over a decade old, and since that time there are a lot of new features that would be beneficial to processing
Re: preprocessor in version 1.1
Reply #1 - May 15th, 2009, 1:45am
 
Strictly speaking, that's Java 1.3, although I don't know if language syntax evolved between 1.1 and 1.4.

The reason is simple: the Antlr grammars between 1.3 and 1.5 are very different, so it is quite a hard job to re-inject the changes needed by Processing in the new grammar.
Although I see in the source tree a java.g.java15 file which is different from the one I have and more derivative of the older one, so maybe this work is already in progress.

Anyway, it is a question of time and priorities.
Note that if you include .java files in your sketch, they can follow 1.5 syntax.
Re: preprocessor in version 1.1
Reply #2 - May 16th, 2009, 10:30am
 
ok, makes sense. and thanks! that helps me out a lot
Page Index Toggle Pages: 1