Skip to content

Conversation

BlakeCThompson
Copy link

Currently, in order to test subcomponents of a grammar, you must manually change the start attribute of the user defined parser class, and then rerun any tests using text from the subset.

With the changes in this PR, users can specify a "start_override" string to rebuild the grammar with the new start value. This allows developers the ease of testing subsets of the grammar without having to create several versions of their parser, or editing their parser before testing each sub-rule of the grammar.

Unit tests passing

@BlakeCThompson BlakeCThompson force-pushed the allow_specifying_start_rule_after_class_initialization branch from 288bd94 to 803f4a7 Compare October 3, 2022 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant