Open d-jeffery opened 1 year ago
When time allows, we can build off the following PR and improve the tokenization of the lexer and parser.
https://github.com/openfga/language/pull/22
Core problem stopping this is the character chosen to trigger a comment - it is very difficult to match with best practices in ANTLR4. https://github.com/antlr/grammars-v4/blob/3ecefc5f8ed0a38ff4b68705bcfd521bcd59f8d3/python/python2-js/Python2.g4#L454
@rhamzeh is this still a problem?
Check https://github.com/mindersec/minder/blob/main/internal/authz/model/minder.fga
When time allows, we can build off the following PR and improve the tokenization of the lexer and parser.
https://github.com/openfga/language/pull/22
Core problem stopping this is the character chosen to trigger a comment - it is very difficult to match with best practices in ANTLR4. https://github.com/antlr/grammars-v4/blob/3ecefc5f8ed0a38ff4b68705bcfd521bcd59f8d3/python/python2-js/Python2.g4#L454