projects · March 2026
kebnf
Converts the OMG's KeBNF text for KerML and SysML v2 into ANTLR4 and tree-sitter grammars from one parsed AST, recording the metamodel binding it strips to a per-rule mapping file. The tree-sitter backend writes definition and usage rules with their prefix keywords inlined, so GLR can resolve the grammar.