OpenFGA tree-sitter grammar #288
Replies: 3 comments 6 replies
-
Hi @matoous! Thanks for sharing this! You can also find the antlr grammar for parsing OpenFGA DSL in language, we also offer language definition in Prism.js, Monaco and VS Code. The actual colors for the OpenFGA Dark theme can be found here. Please feel free to re-use any parts that make parsing easier on your end. Also do share your project on our CNCF Slack channel, found here |
Beta Was this translation helpful? Give feedback.
-
@matoous what IDE are you using? |
Beta Was this translation helpful? Give feedback.
-
We have in our roadmap add support for other IDEs, next was Jetbrain's editors. We might tackle We are kind of conservative of adding new projects to the openfga org until we can make sure there's enough interest and that the OpenFGA maintainers can actually maintain them in the long term. |
Beta Was this translation helpful? Give feedback.
-
Hi 👋
I was missing highlights for the
fga
files in my IDE so after some toying around, here's a tree-sitter grammar for OpenFGA authorization schema files in case somebody finds it useful: https://github.com/matoous/tree-sitter-fga.If the OpenFGA org members were interested I would be happy to move it under
github.com/openfga
.Beta Was this translation helpful? Give feedback.
All reactions