To compile a working parser from the example, run JS/CC as follows:
./bin/jscc-node.sh --src_file calc.par --out_file calc.js
That's all! The result,
calc.js, can now simply be executed using your desired platform.
Like other *nix programs, JS/CC outputs nothing when it is invoked and successfully builds the parser. For
additional output, use the
--logLevel option. The
--verbose option (for now)
prints out some statistics, e.g., how many states and actions had been created in the resulting parse table.
--verbose is likely to be deprecated in favor of using only
--logLevel at some point.