-
Notifications
You must be signed in to change notification settings - Fork 743
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
rego file parser #1468
rego file parser #1468
Conversation
deltamualpha
commented
Mar 24, 2020
•
edited by pyrmont
Loading
edited by pyrmont
- Add lexer for Rego, which is a datalog-like language used to write policy files for authentication/authorization.
- Reference taken from the official Rego.tmLanguage as well as the prolog lexer (very similar language). It's a pretty simple implementation!
- This will close Support for Rego #1435.
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.
Thanks for the submission! It's looking pretty good. Please see the comments below and let me know if anything is unclear!
Co-Authored-By: Michael Camilleri <mike@inqk.net>
Committed the rest of the changes. Do I need to smush this down to a single commit? |
@deltamualpha No need to squash! I do that when I merge and it's more helpful for code review here to have all the commits. Thanks for checking, though! :D |
@deltamualpha Thanks for the submission :) This will be part of the next version of Rouge. That's scheduled for release on Tuesday 14 April 🎉 |
This commit adds a lexer for the Rego open policy agent policy language.