-
Notifications
You must be signed in to change notification settings - Fork 17
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
Datalog IR; Translate AuthLogic to DLIR #261
Conversation
This is a port of the datalog ir referred to as [DLIR](https://github.com/google-research/raksha/blob/main/rust/tools/authorization-logic/src/souffle/datalog_ir.rs) and the compil pass that translates auth logic AST nodes into DLIR [here](https://github.com/google-research/raksha/blob/main/rust/tools/authorization-logic/src/souffle/lowering_ast_datalog.rs) from the rust implementations into CPP.
@markww now it might be a good point to do a re-review just at the |
83c21e2
to
ba64572
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a lot of code without tests, but I understand that you want to iterate. :) Address the comments when you get a chance. We will do iterate once more and get this in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more code refactoring suggestions. Also, some of the changes (like copyright change) don't seem to be in the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good modulo some more comments.
This is a port of the datalog ir referred to as
DLIR
and the compiler pass that translates auth logic AST nodes into DLIR
here
from the rust implementations into CPP.