This command provides some general information about the grammar. This command is also executed if no command parameter is given.

Painting Grammar
Grammar command for the Painting grammar.
This command generates random abstract syntax tree where the top-level function will be of the specified category.
The categories for the sub-trees will be determined by the type signatures of the parent function.

The category to consider

Maximal number of trees generated

Painting Grammar
Random sentence generation for the Painting grammar.
This command parses a string and returns a list of abstract syntax trees.