FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   code colouring & example errors
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: code colouring & example errors  (Read 243 times)
benelek

35160983516098 WWW Email
code colouring & example errors
« on: Feb 19th, 2003, 3:35pm »

ur probably already aware of these little tidbits, these mostly inconsequential inconsistencies, but its that time of the night when im less inclined to being subtle. besides, ive been away from my computer and the board for a few weeks. yo:-
 
1. the String class is not coloured as a variable type.
 
2. the Transform05 example has several syntax errors.
 
3. ar...er... time for bed.
 
hope uve all been having an enjoyable few weeks. btw Glen, i bumped thru the airport of ur city yesterday
 
fry


WWW
Re: code colouring & example errors
« Reply #1 on: Feb 19th, 2003, 6:26pm »

'String' issue noted.. basically the editor is coloring based on keyword, and it looks like i just need to add another pile of keywords for the java language objects..
 
re: the examples, that's high on the list to get resolved (poor form to release broken example code). if anyone were feeling nutty and wanted to help that along, they could go through the examples in 0051 and figure out which are broken and on what line. this would make it way faster for me to get the fixes in.
 
benelek

35160983516098 WWW Email
Re: code colouring & example errors
« Reply #2 on: Feb 20th, 2003, 2:14am »

are the examples in 51 any different from the ones in 50?
 
benelek

35160983516098 WWW Email
Re: code colouring & example errors
« Reply #3 on: Feb 20th, 2003, 2:54am »

about the code colouring... is there perhaps a way to interpret code in real-time and alert the colouring machine as to what words are variables, methods, etc?
 
fry


WWW
Re: code colouring & example errors
« Reply #4 on: Feb 20th, 2003, 6:04am »

examples from 50 and 51 are the same.
 
the real time-interpreting of the code is planned for the future, it's the right method to use (a parser), since that doesn't require so much knowledge about the api's, but instead just the general structure of things. we hope to have someone working on this over the next weeks/months.
 
benelek

35160983516098 WWW Email
Re: code colouring & example errors
« Reply #5 on: Feb 20th, 2003, 6:18am »

actually, i imagine it would help in teaching as well. debugging would be much easier for beginners if real-time parsing could determine what was and wasnt correctly declared, and colour-code appropriately.
 
Pages: 1 

« Previous topic | Next topic »