--save-trees=n -- in case of ambiguity this would produce files with one tree per file up to n number of trees (some sensible default could be there so just using --save-trees would be enough). This will be handy for investigating ambiguities as the standard diff tools can be used over saved trees.
--save-intermediate-trees=n - similar to --save-trees but will save current trees at each shift step. Useful for analysis of ambiguity which results in a huge number of trees where the parse takes to long to complete (see #121).
-i -- like in trace command provides giving the input to be parsed directly on command line.
This command would be used to parse inputs from command line and print parse trees.
Examples:
Command would accept various switches:
--prefer-shifts
/--prefer-shifts-over-empty
-- choosing strategies--glr/lr
-- which parser to use, GLR or LR--save-trees=n
-- in case of ambiguity this would produce files with one tree per file up to n number of trees (some sensible default could be there so just using--save-trees
would be enough). This will be handy for investigating ambiguities as the standard diff tools can be used over saved trees.--save-intermediate-trees=n
- similar to--save-trees
but will save current trees at each shift step. Useful for analysis of ambiguity which results in a huge number of trees where the parse takes to long to complete (see #121).-i
-- like intrace
command provides giving the input to be parsed directly on command line.Some examples: