Is used by the Objective-J compiler
1: Turn on 'preprocess' to allow C like preprocess derectives.
It is 100% compatible with the Macros and Conditionals preprocessor directives defined in the GNU C 4.0 Preprocessor User Guide.
#define MAX(x, y) (x > y ? x : y) var m1 = MAX(a, b); var m2 = MAX(14, 20);
Will be parsed as if it was like this:
var m1 = (a > b ? a : b); var m2 = (14 > 20 ? 14 : 20);
2: Turn on 'objj' to allow Objective-J syntax
Use from command line with different options: usage: acorn infile [--ecma3|--ecma5] [--strictSemicolons] [--trackComments] [--trackSpaces] [--locations] [--no-objj] [--no-preprocess] [--compact] [--silent] [--help]