Skip to content

Add SysML v2 and KerML - #8310

Open
HuiJun wants to merge 2 commits into
github-linguist:mainfrom
Open-MBEE:add-sysml-kerml
Open

HuiJun wants to merge 2 commits into
github-linguist:mainfrom
Open-MBEE:add-sysml-kerml

Conversation

@HuiJun

@HuiJun HuiJun commented Nov 5, 2026

Copy link
Copy Markdown

The textual notations of the OMG SysML v2 (.sysml) and KerML (.kerml) specifications, highlighted by the Apache-2.0 TextMate grammars in Open-MBEE/sysml-v2-textmate.

Description

Adds the two textual notations of the OMG Systems Modeling Language v2 family: SysML (.sysml, SysML v2) and KerML (.kerml, Kernel Modeling Language), the kernel language SysML v2 is defined on. Both are highlighted by the TextMate grammars in Open-MBEE/sysml-v2-textmate (Apache-2.0; scopes source.sysml and source.kerml), which are generated from the keyword tables of the OpenSysML parser and shipped by its VS Code extension. The grammar repository was added with script/add-grammar; both scopes compile cleanly with the grammar compiler.

Neither extension is claimed by an existing language, so no heuristic is needed. .sysml is well past the usage threshold; .kerml sits at about 2,000 files and is included because it is the same language family, grammar repository and maintainers, and a .sysml model routinely sits beside the .kerml library it imports. If you would rather see more usage first, KerML can be dropped from this PR and proposed later.

SysML carries the aliases sysmlv2 and sysml2, the names in common use for fenced code blocks.

Checklist:

The textual notations of the OMG SysML v2 (.sysml) and KerML (.kerml) specifications, highlighted by the Apache-2.0 TextMate grammars in Open-MBEE/sysml-v2-textmate.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
@HuiJun
HuiJun requested a review from a team as a code owner November 5, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants