Syntax Color Test
► Strings
► Special values like true, nil
► Comments
► Class names
► Numbers and character literals
► Punctuation
► Plain text, methods and variable names
► Special variables like super, thisProcess
► Declarations like var, const
► Symbols
► Environment vars
/* Some example nonsense code to test syntax coloring */
~foo = SomeClass.new(\abc, 123, "xyz") { |one, two, three=42.7|
var myVariable, test = pi*5, bool = true;
if ((two & one) < 3) { // A comment...
"hello".postln;
(abc: $x, def: \y, ghi: nil);
} {
[~bar, zoo, thisProcess.platform];
};
};
Routine {
inf.do {|i|
("count"+i).postln;
5.0.rand.wait;
};
}.play;