Skip to content
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

Simplifications in language grammar #1

Open
DivyanshuSaxena opened this issue Jul 1, 2023 · 0 comments
Open

Simplifications in language grammar #1

DivyanshuSaxena opened this issue Jul 1, 2023 · 0 comments

Comments

@DivyanshuSaxena
Copy link
Member

Since the language grammar is directly converted into a JSON file and then used, it is better to simplify the language at some point.

Listing the possible simplifications here:

[ ] Drop Selector from Match enum (since we only have Contexts now)
[ ] No need for Vec<Match> in Policy struct
[ ] Upgrade Context to Policy struct directly instead of indirection via Match

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

No branches or pull requests

1 participant