-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add grammar analyzer functionality to grammarinator-process
This new funcionality helps identifying cycles in the graph and it looks for unavailable rules from a user-defined start rule. Furthermore, it finds the farthest rule from a starting rule - this can be predefined or the first parser rule. This information can be useful by generation when parametrizing the max-depth argument. The node classes representing the grammar tree are extended with __str__ and print_tree methods.
- Loading branch information
1 parent
a4fff1d
commit 490dc1e
Showing
3 changed files
with
131 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters