spg

Soul parser generator.

Usage: spg [options] { FILE.spg }

Options:

Long option Short option Description
--help -h Print help and exit.
--verbose -v Be verbose.
--no-debug-support -n Do not generate parser debugging code.
--optimize -o Do switch optimization.
--xml -x Generate XML info documents.
--ppstyle -p Generate preprocessor style code.

Examples:

Command Description
spg parser.spg Process parser project file parser.spg. Generates source code for all parsers contained by the parser.spg,
spg -vox cpp_parsers.spg Process parser project file cpp_parsers.spg. Do switch optimization and generate verbose output and XML info documents.