-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grammar rules should be unique #58
Comments
This can be done in |
@mmoskal linked issue for hash consing? |
I think this would be for both hash-consing in the GrammarBuilder and also Hash of (node_id, num_repetitions) cache in repeat_exact and (a separate but same shape) in at_most |
See Commit 5bc30a8 |
@v-jkegler uniqueness is enforced a bit further up the stack when we are building a "TopLevelGrammar", see my recent commit here |
Currently there is no mechanism in llguidance for determining a grammar rule (aka node) is unique. This
The text was updated successfully, but these errors were encountered: