I was often confused by line 35 of Processing.js where John states...
// Angels weep at this parsing code :-(
...wondering if the angels were weeping with joy because the parsing code was so purely divine, or weather they were weeping for some other more sinister reason. I should have paid more attention to the sad face, as the case turns out to be the later. In fact the parsing code is inherently evil.
void setup(){
}
String message="In the beginning was the Word, and the Word was with God, and the Word was God.";
window.Processing.update=false;
void draw(){
if (window.Processing.update == true){ giveMessage(); }
}
void giveMessage(){
window.Processing.update=false;
alert(message);
}
Click to Test.
As you can see, Resig's parsing code attempts to parse God into a Javascript variable when God is actually a String Literal as stated in The Book of John 1:1. No wonder the angels weep!