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

Add Separate Nodes for Predicate and RelationDeclaration to auth_logic/ast.h #644

Open
aferr opened this issue Aug 9, 2022 · 0 comments

Comments

@aferr
Copy link
Collaborator

aferr commented Aug 9, 2022

At the moment the authorization logic ast refers to the definitions of predicate and relationDeclaration from the datalog ir (in datalog/program.h). This was done for efficiency and to avoid code reuse. However, by adding equivalent classes to ast.h we can cleanly separate the datalog IR from the authoriation logic ast and the visitor that runs on the ast can completely traverse the AST without creating a dependency on the datalog IR.

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