Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
client
|
|
|
opensysml
Package opensysml is the public Go API for OpenSysML: parse SysML v2 models, look up symbols, evaluate expressions, instantiate parts, run actions and state machines, verify constraints and requirements, evaluate calculations, query the model, render documents, convert notations and edit source.
|
Package opensysml is the public Go API for OpenSysML: parse SysML v2 models, look up symbols, evaluate expressions, instantiate parts, run actions and state machines, verify constraints and requirements, evaluate calculations, query the model, render documents, convert notations and edit source. |
|
cmd
|
|
|
sysml
command
Command sysml is an interactive SysML v2 REPL (spec §13).
|
Command sysml is an interactive SysML v2 REPL (spec §13). |
|
sysml-core
command
sysml-core serves parsing, validation diagnostics and symbol facts over protojson-shaped JSON without protobuf, Connect or execution dependencies.
|
sysml-core serves parsing, validation diagnostics and symbol facts over protojson-shaped JSON without protobuf, Connect or execution dependencies. |
|
sysml-engine
command
sysml-engine serves the SysML execution RPCs — ParseSources, Evaluate, Instantiate, ExecuteAction and ExecuteState — over protojson-shaped JSON rather than protobuf: over stdio with Content-Length framing and a JSON-RPC 2.0 envelope, or, built for js/wasm and run with no -stdio, as the synchronous globalThis.sysmlEngine.call(method, paramsJSON) a browser page invokes.
|
sysml-engine serves the SysML execution RPCs — ParseSources, Evaluate, Instantiate, ExecuteAction and ExecuteState — over protojson-shaped JSON rather than protobuf: over stdio with Content-Length framing and a JSON-RPC 2.0 envelope, or, built for js/wasm and run with no -stdio, as the synchronous globalThis.sysmlEngine.call(method, paramsJSON) a browser page invokes. |
|
sysml-grpc
command
sysml-grpc starts a gRPC server exposing SysML v2 parsing, resolution, and semantic services.
|
sysml-grpc starts a gRPC server exposing SysML v2 parsing, resolution, and semantic services. |
|
sysml-jupyter-kernel
command
Command sysml-jupyter-kernel serves SysML v2 to Jupyter: a kernel over the REPL session, so a notebook cell is read as the prompt reads a line.
|
Command sysml-jupyter-kernel serves SysML v2 to Jupyter: a kernel over the REPL session, so a notebook cell is read as the prompt reads a line. |
|
sysml-lsp
command
Command sysml-lsp is a stdio Language Server for SysML v2 / KerML.
|
Command sysml-lsp is a stdio Language Server for SysML v2 / KerML. |
|
sysml-mcp
command
Command sysml-mcp serves OpenSysML to coding agents over the Model Context Protocol: the language server's diagnostics, navigation and editing, the runtime's evaluation and execution, and persistent REPL sessions, as tools an agent calls.
|
Command sysml-mcp serves OpenSysML to coding agents over the Model Context Protocol: the language server's diagnostics, navigation and editing, the runtime's evaluation and execution, and persistent REPL sessions, as tools an agent calls. |
|
sysml-syntax
command
sysml-syntax serves the purely syntactic RPCs — Parse, Format and Tokens — over protojson-shaped JSON rather than protobuf: over stdio with Content-Length framing and a JSON-RPC 2.0 envelope, or, built for js/wasm and run with no -stdio, as the synchronous globalThis.sysmlSyntax.call( method, paramsJSON) a browser page invokes.
|
sysml-syntax serves the purely syntactic RPCs — Parse, Format and Tokens — over protojson-shaped JSON rather than protobuf: over stdio with Content-Length framing and a JSON-RPC 2.0 envelope, or, built for js/wasm and run with no -stdio, as the synchronous globalThis.sysmlSyntax.call( method, paramsJSON) a browser page invokes. |
|
sysml-wasm
command
|
|
|
editors
|
|
|
vscode/tools/gengrammar
command
Command gengrammar writes the VS Code extension's TextMate grammars and the JupyterLab extension's CodeMirror syntax table from the lexer's keyword list, so highlighting cannot drift from the language.
|
Command gengrammar writes the VS Code extension's TextMate grammars and the JupyterLab extension's CodeMirror syntax table from the lexer's keyword list, so highlighting cannot drift from the language. |
|
examples
|
|
|
runtime-demo
command
|
|
|
internal
|
|
|
check/codes
Package codes is the registry of diagnostic codes: every code a diagnostic of the parser, the semantic layer, the checker or the runtime carries, with the rule it names, how to satisfy the rule and the specification clause or validation constraint behind it.
|
Package codes is the registry of diagnostic codes: every code a diagnostic of the parser, the semantic layer, the checker or the runtime carries, with the rule it names, how to satisfy the rule and the specification clause or validation constraint behind it. |
|
check/edit
Package edit rewrites the source a model was parsed from.
|
Package edit rewrites the source a model was parsed from. |
|
check/passes/behavior
Package behavior contains validation passes over state machines, successions and control nodes.
|
Package behavior contains validation passes over state machines, successions and control nodes. |
|
check/passes/diagram
Package diagram contains validation passes for view renderings and diagram layout annotations.
|
Package diagram contains validation passes for view renderings and diagram layout annotations. |
|
check/passes/document
Package document contains validation passes for document definitions and queries.
|
Package document contains validation passes for document definitions and queries. |
|
check/passes/identity
Package identity contains the validation pass over declared element identities and the workspace-wide gather it reads.
|
Package identity contains the validation pass over declared element identities and the workspace-wide gather it reads. |
|
check/passes/kit
Package kit contains the reusable validation pass framework.
|
Package kit contains the reusable validation pass framework. |
|
doc/docir
Package docir evaluates compiled document plans into an immutable, backend-agnostic document tree with provenance on every node.
|
Package docir evaluates compiled document plans into an immutable, backend-agnostic document tree with provenance on every node. |
|
doc/docpdf
Package docpdf renders an evaluated document to PDF by driving external converters as subprocesses; no PDF renderer is linked into the binary.
|
Package docpdf renders an evaluated document to PDF by driving external converters as subprocesses; no PDF renderer is linked into the binary. |
|
doc/docrender
Package docrender renders evaluated documents into backend-specific artifacts, consuming only the document IR — never plans, symbols, or ASTs.
|
Package docrender renders evaluated documents into backend-specific artifacts, consuming only the document IR — never plans, symbols, or ASTs. |
|
doc/queryexec
Package queryexec executes immutable document-query plans.
|
Package queryexec executes immutable document-query plans. |
|
exec/analysis
Package analysis is the analysis framework: one contract every way of answering a question about a model implements, one scale for the strength of an answer, a registry of engines and the dispatch that turns a question into the engines that answer it.
|
Package analysis is the analysis framework: one contract every way of answering a question about a model implements, one scale for the strength of an answer, a registry of engines and the dispatch that turns a question into the engines that answer it. |
|
exec/analysis/enginewire
Package enginewire is the message set an external engine and the host exchange over standard input and output: JSON-RPC 2.0 objects, one per line.
|
Package enginewire is the message set an external engine and the host exchange over standard input and output: JSON-RPC 2.0 objects, one per line. |
|
exec/analysis/modelform
Package modelform is the forms of a model an external engine reads: the sources form and the versioned graphs:1 form of the lowered action and state graphs.
|
Package modelform is the forms of a model an external engine reads: the sources form and the versioned graphs:1 form of the lowered action and state graphs. |
|
exec/analysis/record
Package record generates the SysML declarations that record an analysis run, a sweep or a Monte-Carlo sample into the model it ran on, as usages of the bundled AnalysisRecords library.
|
Package record generates the SysML declarations that record an analysis run, a sweep or a Monte-Carlo sample into the model it ran on, as usages of the bundled AnalysisRecords library. |
|
exec/engines
Package engines assembles the registry of every analysis engine the build knows: the framework's own and those of packages the framework cannot import.
|
Package engines assembles the registry of every analysis engine the build knows: the framework's own and those of packages the framework cannot import. |
|
exec/fmi
Package fmi reads Functional Mock-up Units: the modelDescription.xml of an .fmu archive as a Description, and the `tool:fmi` analysis engine that computes a ToolExecution-annotated calc or action by handing the FMU to the runner OPENSYSML_FMI_RUNNER names.
|
Package fmi reads Functional Mock-up Units: the modelDescription.xml of an .fmu archive as a Description, and the `tool:fmi` analysis engine that computes a ToolExecution-annotated calc or action by handing the FMU to the runner OPENSYSML_FMI_RUNNER names. |
|
exec/hostcap
Package hostcap reports what the host a build runs on can do beyond the language itself, so a capability that is not there is named rather than failing obscurely.
|
Package hostcap reports what the host a build runs on can do beyond the language itself, so a capability that is not there is named rather than failing obscurely. |
|
exec/ingest
Package ingest reads tabular and record data — CSV, TSV, JSON and JSON Lines — into the feature values it assigns to model elements, one row per element.
|
Package ingest reads tabular and record data — CSV, TSV, JSON and JSON Lines — into the feature values it assigns to model elements, one row per element. |
|
exec/objref
Package objref reads the references every surface names a held object by — `#<id>`, a declared name, or either followed by the features walked from it (`car.wheels[2]`) — and walks such a path through an object's feature values.
|
Package objref reads the references every surface names a held object by — `#<id>`, a declared name, or either followed by the features walked from it (`car.wheels[2]`) — and walks such a path through an object's feature values. |
|
exec/runtime
Package runtime provides the SysML v2 execution runtime: expression evaluation, instance materialization, and KerML operator library.
|
Package runtime provides the SysML v2 execution runtime: expression evaluation, instance materialization, and KerML operator library. |
|
exec/simresults
Package simresults is the schema of the result sidecar a SysML v1 migration writes (-migration-results) and the comparison of a migrated run configuration with its tool's stored runs reads (-compare-results).
|
Package simresults is the schema of the result sidecar a SysML v1 migration writes (-migration-results) and the comparison of a migrated run configuration with its tool's stored runs reads (-compare-results). |
|
exec/smt
Package smt is the `smt` analysis engine: an action's token flow as a transition relation over SMT terms, queried for a violation or deadlock within k moves, every witness replayed.
|
Package smt is the `smt` analysis engine: an action's token flow as a transition relation over SMT terms, queried for a violation or deadlock within k moves, every witness replayed. |
|
exec/solve
Package solve translates the conditions a constraint, requirement or satisfaction assertion states into a solver-independent term IR and writes that IR as an SMT-LIB2 script.
|
Package solve translates the conditions a constraint, requirement or satisfaction assertion states into a solver-independent term IR and writes that IR as an SMT-LIB2 script. |
|
frontend/buildinfo
Package buildinfo resolves what a binary reports about its own build: the version, commit, build time and Go version.
|
Package buildinfo resolves what a binary reports about its own build: the version, commit, build time and Go version. |
|
frontend/combined
Package combined serves the shared parsing, validation and execution surface.
|
Package combined serves the shared parsing, validation and execution surface. |
|
frontend/core
Package core serves parsing, validation diagnostics and symbol facts without protobuf, Connect or execution dependencies.
|
Package core serves parsing, validation diagnostics and symbol facts without protobuf, Connect or execution dependencies. |
|
frontend/engine
Package engine is an in-process engine over SysML text.
|
Package engine is an in-process engine over SysML text. |
|
frontend/jsonrpc
Package jsonrpc speaks the JSON half of stdiorpc's protocol over a pipe: Content-Length-delimited frames carrying JSON-RPC 2.0 bodies, with the canonical gRPC status codes numbering a refused call.
|
Package jsonrpc speaks the JSON half of stdiorpc's protocol over a pipe: Content-Length-delimited frames carrying JSON-RPC 2.0 bodies, with the canonical gRPC status codes numbering a refused call. |
|
frontend/jupyter
Package jupyter serves the Jupyter messaging protocol over ZeroMQ for a kernel: the five channels a connection file names, the signing of every message, and the request kinds a front end sends, each answered by an Engine.
|
Package jupyter serves the Jupyter messaging protocol over ZeroMQ for a kernel: the five channels a connection file names, the signing of every message, and the request kinds a front end sends, each answered by an Engine. |
|
frontend/mcp
Package mcp serves OpenSysML to coding agents over the Model Context Protocol: one server over a workspace root, its tools in three groups.
|
Package mcp serves OpenSysML to coding agents over the Model Context Protocol: one server over a workspace root, its tools in three groups. |
|
frontend/mcp/catalog
Package catalog is the one source of truth for the tools sysml-mcp serves: what each tool is called, which group serves it, which RPC of the sysml-grpc service and which sysml CLI operation it stands for, and a one-line summary.
|
Package catalog is the one source of truth for the tools sysml-mcp serves: what each tool is called, which group serves it, which RPC of the sysml-grpc service and which sysml CLI operation it stands for, and a one-line summary. |
|
frontend/mcp/lsptools
Package lsptools serves the language server's workspace over MCP: the documents under the root, their diagnostics, navigation, editing and rendering, as tools an agent calls instead of an editor.
|
Package lsptools serves the language server's workspace over MCP: the documents under the root, their diagnostics, navigation, editing and rendering, as tools an agent calls instead of an editor. |
|
frontend/mcp/runtimetools
Package runtimetools is the runtime group of sysml-mcp tools: the one-shot operations of the sysml-grpc service (parse, evaluate, instantiate, execute, verify, query, render, convert), each tool one RPC with the RPC's contract.
|
Package runtimetools is the runtime group of sysml-mcp tools: the one-shot operations of the sysml-grpc service (parse, evaluate, instantiate, execute, verify, query, render, convert), each tool one RPC with the RPC's contract. |
|
frontend/mcp/sessiontools
Package sessiontools is the session group of sysml-mcp tools: named REPL sessions that keep a model, its instances, a running action or state machine and the solver's state across calls, as the sysml prompt does.
|
Package sessiontools is the session group of sysml-mcp tools: named REPL sessions that keep a model, its instances, a running action or state machine and the solver's state across calls, as the sysml prompt does. |
|
frontend/mcp/toolkit
Package toolkit holds what every sysml-mcp tool group shares: the annotations a tool declares about itself and the coordinate conventions tool arguments use, so the groups agree without importing one another.
|
Package toolkit holds what every sysml-mcp tool group shares: the annotations a tool declares about itself and the coordinate conventions tool arguments use, so the groups agree without importing one another. |
|
frontend/protoconv
Package protoconv converts between the runtime's values and instances and the protobuf messages of the API, for every frontend that emits that shape.
|
Package protoconv converts between the runtime's values and instances and the protobuf messages of the API, for every frontend that emits that shape. |
|
frontend/repl
Package repl implements an interactive SysML v2 read-eval-print loop as a thin frontend over model.Workspace (spec §13).
|
Package repl implements an interactive SysML v2 read-eval-print loop as a thin frontend over model.Workspace (spec §13). |
|
frontend/repl/replext
Package replext is where REPL features that need a translator or a transport register themselves, so a bare REPL links neither; replext/all links them all.
|
Package replext is where REPL features that need a translator or a transport register themselves, so a bare REPL links neither; replext/all links them all. |
|
frontend/repl/replext/all
Package all links every REPL feature replext lets a build leave out, so a REPL built with it serves every command the full `sysml` does.
|
Package all links every REPL feature replext lets a build leave out, so a REPL built with it serves every command the full `sysml` does. |
|
frontend/repl/replext/graphviz
Package graphviz registers the drawer %render-document draws DOT diagrams with: the PDF backend's Graphviz, so the Markdown it prints carries the SVG a render on the command line writes.
|
Package graphviz registers the drawer %render-document draws DOT diagrams with: the PDF backend's Graphviz, so the Markdown it prints carries the SVG a render on the command line writes. |
|
frontend/repl/replext/instancegraph
Package instancegraph registers %features json: an object graph written as the API's Instantiate response, so a client reads one shape whether it asked the service or the REPL.
|
Package instancegraph registers %features json: an object graph written as the API's Instantiate response, so a client reads one shape whether it asked the service or the REPL. |
|
frontend/repl/replext/notation
Package notation registers the REPL's %print and %save: the session's model written as SysML notation, or converted to the format a file name selects.
|
Package notation registers the REPL's %print and %save: the session's model written as SysML notation, or converted to the format a file name selects. |
|
frontend/repl/replext/positional
Package positional registers the names OSLC query gives elements without a qualified identity: the positional `@N` identities the RDF export writes, so a query answers with the identifiers a saved graph holds.
|
Package positional registers the names OSLC query gives elements without a qualified identity: the positional `@N` identities the RDF export writes, so a query answers with the identifiers a saved graph holds. |
|
frontend/repl/replext/repository
Package repository links the %repo, %projects, %load and %publish commands to a SysML v2 API server: any conformant one through the standard surface, with a bearer token from the environment when the server wants one.
|
Package repository links the %repo, %projects, %load and %publish commands to a SysML v2 API server: any conformant one through the standard surface, with a bearer token from the environment when the server wants one. |
|
frontend/report/junit
Package junit renders test results in the JUnit XML format that CI systems (CircleCI, Jenkins, GitLab, GitHub) render natively as test reports.
|
Package junit renders test results in the JUnit XML format that CI systems (CircleCI, Jenkins, GitLab, GitHub) render natively as test reports. |
|
frontend/report/sarif
Package sarif renders findings in the SARIF 2.1.0 format that code-scanning services (GitHub, GitLab, Azure DevOps) ingest.
|
Package sarif renders findings in the SARIF 2.1.0 format that code-scanning services (GitHub, GitLab, Azure DevOps) ingest. |
|
frontend/report/sarif/sariftest
Package sariftest validates SARIF documents against the vendored SARIF 2.1.0 schema, so a writer's tests can prove its output is what a code-scanning service reads.
|
Package sariftest validates SARIF documents against the vendored SARIF 2.1.0 schema, so a writer's tests can prove its output is what a code-scanning service reads. |
|
frontend/stdiorpc
Package stdiorpc serves SysMLService over a pair of pipes rather than a socket.
|
Package stdiorpc serves SysMLService over a pair of pipes rather than a socket. |
|
frontend/syntax
Package syntax serves the purely syntactic RPCs a WebAssembly build can answer without a symbol table or a standard library: parsing content for its syntax diagnostics, reformatting it, and classifying its lexical tokens.
|
Package syntax serves the purely syntactic RPCs a WebAssembly build can answer without a symbol table or a standard library: parsing content for its syntax diagnostics, reformatting it, and classifying its lexical tokens. |
|
frontend/usage
Package usage describes a command's help as data, so the help a binary prints and the man page shipped for it are rendered from one source and cannot drift.
|
Package usage describes a command's help as data, so the help a binary prints and the man page shipped for it are rendered from one source and cannot drift. |
|
ir/docplan
Package docplan compiles native SysML v2 document definitions into immutable document plans that reference compiled query programs.
|
Package docplan compiles native SysML v2 document definitions into immutable document plans that reference compiled query programs. |
|
ir/imagefile
Package imagefile tells what picture some bytes are and what file name to write them under, for every place that writes a picture out of a model.
|
Package imagefile tells what picture some bytes are and what file name to write them under, for every place that writes a picture out of a model. |
|
ir/lower
Package lower provides AST → execution IR lowering.
|
Package lower provides AST → execution IR lowering. |
|
ir/queryplan
Package queryplan compiles native SysML document queries into immutable plans.
|
Package queryplan compiles native SysML document queries into immutable plans. |
|
ir/view
Package view renders a SysML view: it turns the elements a view exposes into a rendering artifact, in the form the view's `render` member states.
|
Package view renders a SysML view: it turns the elements a view exposes into a rendering artifact, in the form the view's `render` member states. |
|
semantic/highlight
Package highlight classifies the source text of a document into semantic tokens: the lexer's keywords, comments and literals, the names the symbol table declares, and the references the resolver answers.
|
Package highlight classifies the source text of a document into semantic tokens: the lexer's keywords, comments and literals, the names the symbol table declares, and the references the resolver answers. |
|
semantic/identity
Package identity computes the effective repository identity of the symbols of an analyzed model: the id of an element's IdentityMetadata::ElementId annotation when it carries one, the normative UUID of a named standard library element, the id derived from its qualified name otherwise, plus the project scope its nearest enclosing ProjectRef declares.
|
Package identity computes the effective repository identity of the symbols of an analyzed model: the id of an element's IdentityMetadata::ElementId annotation when it carries one, the normative UUID of a named standard library element, the id derived from its qualified name otherwise, plus the project scope its nearest enclosing ProjectRef declares. |
|
semantic/metamodel
Package metamodel evaluates derived SysML and KerML metamodel properties over a resolved semantic model, optionally using graph-stated structure.
|
Package metamodel evaluates derived SysML and KerML metamodel properties over a resolved semantic model, optionally using graph-stated structure. |
|
semantic/query
Package query contains the transport-neutral element query model and evaluator.
|
Package query contains the transport-neutral element query model and evaluator. |
|
semantic/semantics
Package semantics provides the derived semantic model that validation depth-C constraint checks rely on: a specialization/typing graph (with cycle detection), and — in later increments — inherited-member resolution, multiplicity extraction, and a bounded model-level expression evaluator.
|
Package semantics provides the derived semantic model that validation depth-C constraint checks rely on: a specialization/typing graph (with cycle detection), and — in later increments — inherited-member resolution, multiplicity extraction, and a bounded model-level expression evaluator. |
|
semantic/suggest
Package suggest offers the spellings a name that did not resolve may have meant: the qualified names the index declares it under, or the nearest spellings by edit distance.
|
Package suggest offers the spellings a name that did not resolve may have meant: the qualified names the index declares it under, or the nearest spellings by edit distance. |
|
semantic/symbols
Package symbols builds an immutable per-document scope tree and a global qualified-name index over a parsed ast.RootNamespace.
|
Package symbols builds an immutable per-document scope tree and a global qualified-name index over a parsed ast.RootNamespace. |
|
syntax/ast/astcodec
Package astcodec writes syntax trees to a pack stream and reads them back.
|
Package astcodec writes syntax trees to a pack stream and reads them back. |
|
syntax/diag
Package diag holds the diagnostic type every layer reports findings in, the quick-fix edits a diagnostic carries, and the conformance mode that decides how strictly findings are judged.
|
Package diag holds the diagnostic type every layer reports findings in, the quick-fix edits a diagnostic carries, and the conformance mode that decides how strictly findings are judged. |
|
syntax/format
Package format re-indents SysML v2 / KerML source text.
|
Package format re-indents SysML v2 / KerML source text. |
|
syntax/lexer
Package lexer implements a hand-written scanner for SysML v2 and KerML.
|
Package lexer implements a hand-written scanner for SysML v2 and KerML. |
|
syntax/nsmerge
Package nsmerge folds a namespace declaration typed or generated anew into the same-named declaration a document already holds, so re-stating `package P { ...
|
Package nsmerge folds a namespace declaration typed or generated anew into the same-named declaration a document already holds, so re-stating `package P { ... |
|
syntax/pack
Package pack is the compact binary encoding the library snapshot is written in: a string table, then a body of varint-packed scalars and string indices.
|
Package pack is the compact binary encoding the library snapshot is written in: a string table, then a body of varint-packed scalars and string indices. |
|
syntax/semtok
Package semtok is the semantic-token vocabulary a classified document is written in: the LSP-standardized classes and modifiers, the lexical half of the classification (keywords, comments and literals, which need no symbol table), and the relative UTF-16 encoding the Language Server Protocol transmits them in.
|
Package semtok is the semantic-token vocabulary a classified document is written in: the LSP-standardized classes and modifiers, the lexical half of the classification (keywords, comments and literals, which need no symbol table), and the relative UTF-16 encoding the Language Server Protocol transmits them in. |
|
syntax/source
Package source provides source file management and text indexing for the SysML v2 parser, and the notation's text forms that every layer above it reads and writes.
|
Package source provides source file management and text indexing for the SysML v2 parser, and the notation's text forms that every layer above it reads and writes. |
|
translate/codegen
Package codegen compiles the value subset of SysML v2 calcs to native code; see docs/project/native-compilation.md for the subset and its semantics.
|
Package codegen compiles the value subset of SysML v2 calcs to native code; see docs/project/native-compilation.md for the subset and its semantics. |
|
translate/convert
Package convert is the entry point of `sysml -convert`, `%save` and the service's Export: it names the formats a model is read from and written to and drives each conversion, parsing notation and migrating SysML v1 XMI before handing the tree or graph to internal/translate/export.
|
Package convert is the entry point of `sysml -convert`, `%save` and the service's Export: it names the formats a model is read from and written to and drives each conversion, parsing notation and migrating SysML v1 XMI before handing the tree or graph to internal/translate/export. |
|
translate/deferred
Package deferred writes the standard SysML v2 encoding of a deferred signal: an ordered buffer item, a do action whose accept loop keeps each occurrence while the state is active, and an exit action that sends each kept occurrence to self.
|
Package deferred writes the standard SysML v2 encoding of a deferred signal: an ordered buffer item, a do action whose accept loop keeps each occurrence while the state is active, and an exit action that sends each kept occurrence to self. |
|
translate/export
Package export saves a SysML v2 model to a file and converts between the two representations OpenSysML can write: SysML textual notation and RDF Turtle.
|
Package export saves a SysML v2 model to a file and converts between the two representations OpenSysML can write: SysML textual notation and RDF Turtle. |
|
translate/filename
Package filename fits the file names a run derives from qualified names into what every common filesystem takes, and keeps a set of them apart: a name too long for one path component is cut and tagged with a hash of the whole, names that meet letter case aside are tagged until no two meet, and a stem a filesystem reads as a device is told so its caller can encode it.
|
Package filename fits the file names a run derives from qualified names into what every common filesystem takes, and keeps a set of them apart: a name too long for one path component is cut and tagged with a hash of the whole, names that meet letter case aside are tagged until no two meet, and a stem a filesystem reads as a device is told so its caller can encode it. |
|
translate/fmi
Package fmi writes the SysML notation an FMU imports as: a calc def computed by the `fmi` tool, holding the model's parameters, inputs and outputs as ToolVariable-annotated members.
|
Package fmi writes the SysML notation an FMU imports as: a calc def computed by the `fmi` tool, holding the model's parameters, inputs and outputs as ToolVariable-annotated members. |
|
translate/interop/flexo
Package flexo drives a running Flexo MMS stack — the Layer 1 service and the SysML v2 API in front of it — so a project branch can be read and written as a model's repository: `sysml -sync-diff` and `-sync-apply` sync element-wise, `sysml -convert` reads a branch URL as notation or pushes a whole Turtle graph to it.
|
Package flexo drives a running Flexo MMS stack — the Layer 1 service and the SysML v2 API in front of it — so a project branch can be read and written as a model's repository: `sysml -sync-diff` and `-sync-apply` sync element-wise, `sysml -convert` reads a branch URL as notation or pushes a whole Turtle graph to it. |
|
translate/interop/modelsync
Package modelsync is what `sysml -sync` and the REPL's repository commands share above reposync: reading a model as the graph a sync compares, cutting the graph rooted in one element, stamping a graph with the project branch it came from so its notation declares a ProjectRef, and applying a change set while advancing the sync state.
|
Package modelsync is what `sysml -sync` and the REPL's repository commands share above reposync: reading a model as the graph a sync compares, cutting the graph rooted in one element, stamping a graph with the project branch it came from so its notation declares a ProjectRef, and applying a change set while advancing the sync state. |
|
translate/interop/reposync
Package reposync diffs a local model's identity-carrying RDF graph against a repository-side graph of the same project scope, keyed by effective element id, so a rename or a move is an update to the existing element rather than a delete plus a create.
|
Package reposync diffs a local model's identity-carrying RDF graph against a repository-side graph of the same project scope, keyed by effective element id, so a rename or a move is an update to the existing element rather than a delete plus a create. |
|
translate/interop/sysmlapi
Package sysmlapi drives any server speaking the standard SysML v2 API: the projects, branches, commits and elements resources the OMG pilot's SysML-v2-API-Services and Flexo MMS alike serve.
|
Package sysmlapi drives any server speaking the standard SysML v2 API: the projects, branches, commits and elements resources the OMG pilot's SysML-v2-API-Services and Flexo MMS alike serve. |
|
translate/migrate
Package migrate writes a SysML v1 model, read from XMI, as SysML v2 textual notation, and reports what each v1 element became.
|
Package migrate writes a SysML v1 model, read from XMI, as SysML v2 textual notation, and reports what each v1 element became. |
|
translate/mtip
Package mtip reads the HUDS XML an Open-MBEE MTIP export writes: the diagram records carrying each shown element's bounds and each connector's route, so a SysML v1 migration can lay out the views it writes.
|
Package mtip reads the HUDS XML an Open-MBEE MTIP export writes: the diagram records carrying each shown element's bounds and each connector's route, so a SysML v1 migration can lay out the views it writes. |
|
translate/rdf
Package rdf provides the minimal RDF graph model, Turtle writer and Turtle reader that the SysML v2 ↔ RDF conversion in internal/translate/export is built on.
|
Package rdf provides the minimal RDF graph model, Turtle writer and Turtle reader that the SysML v2 ↔ RDF conversion in internal/translate/export is built on. |
|
translate/rdf/ontology
Package ontology holds the SysML v2 metamodel term table generated from the OMG metamodel's SysML.ecore, plus the domain/range check built on it.
|
Package ontology holds the SysML v2 metamodel term table generated from the OMG metamodel's SysML.ecore, plus the domain/range check built on it. |
|
translate/xmi
Package xmi parses XMI documents into an immutable element tree indexed by xmi:id.
|
Package xmi parses XMI documents into an immutable element tree indexed by xmi:id. |
|
translate/xmi/sysmlv1
Package sysmlv1 interprets the element tree of internal/translate/xmi as the UML model with stereotype applications that SysML v1 tools export.
|
Package sysmlv1 interprets the element tree of internal/translate/xmi as the UML model with stereotype applications that SysML v1 tools export. |
|
workspace/dataimport
Package dataimport lowers the rows of a CSV, TSV, JSON or JSON Lines file to the edits that set the feature values they assign, one row per element, as `sysml -import` and the service's ImportData both apply them.
|
Package dataimport lowers the rows of a CSV, TSV, JSON or JSON Lines file to the edits that set the feature values they assign, one row per element, as `sysml -import` and the service's ImportData both apply them. |
|
workspace/envvar
Package envvar resolves the toolchain's OPENSYSML_-prefixed environment variables, falling back to their legacy SYSML_-prefixed names.
|
Package envvar resolves the toolchain's OPENSYSML_-prefixed environment variables, falling back to their legacy SYSML_-prefixed names. |
|
workspace/libs
Package libs loads SysML/KerML standard-library files (bundled via embed.FS or overridden on disk) and maintains a persistent cache of their indexed symbols.
|
Package libs loads SysML/KerML standard-library files (bundled via embed.FS or overridden on disk) and maintains a persistent cache of their indexed symbols. |
|
workspace/libs/errata
Package errata is the declared overlay of defects in OMG-published material, and the entries for the bundled standard library; published bytes are never rewritten.
|
Package errata is the declared overlay of defects in OMG-published material, and the entries for the bundled standard library; published bytes are never rewritten. |
|
workspace/model
Package model owns the workspace: the set of documents, the global symbol index, and the reindex pipeline that keeps them consistent.
|
Package model owns the workspace: the set of documents, the global symbol index, and the reindex pipeline that keeps them consistent. |
|
workspace/modeldoc
Package modeldoc renders a workspace's document definitions, so the workspace model itself never links the document evaluator or the runtime it reads objects from.
|
Package modeldoc renders a workspace's document definitions, so the workspace model itself never links the document evaluator or the runtime it reads objects from. |
|
workspace/modelrt
Package modelrt builds execution runtimes over a workspace's documents, so the workspace model itself never links the runtime.
|
Package modelrt builds execution runtimes over a workspace's documents, so the workspace model itself never links the runtime. |
|
workspace/notebook
Package notebook reads the code cells of a Jupyter notebook (nbformat 4), so a model written in a notebook can be loaded where a model file can.
|
Package notebook reads the code cells of a Jupyter notebook (nbformat 4), so a model written in a notebook can be loaded where a model file can. |
|
workspace/project
Package project turns the paths a user names — files, directories and glob patterns — into the model files to load, in a deterministic order.
|
Package project turns the paths a user names — files, directories and glob patterns — into the model files to load, in a deterministic order. |
|
workspace/selfcheck
Package selfcheck applies the reflective SysMLValidation constraints, and those of any rule packages, to every element of a model: the REPL's -self-check and the service's SelfCheck share it.
|
Package selfcheck applies the reflective SysMLValidation constraints, and those of any rule packages, to every element of a model: the REPL's -self-check and the service's SelfCheck share it. |
|
tests
|
|
|
fixtures
Package fixtures enumerates conformance cases the way the gates run them, so the tests and the generated documentation figures share one definition.
|
Package fixtures enumerates conformance cases the way the gates run them, so the tests and the generated documentation figures share one definition. |
|
stressmodel
Package stressmodel generates large SysML v2 models of a stated shape and size, so the toolchain's cost can be measured against a model that looks like one a systems engineer would write rather than against one repeated declaration.
|
Package stressmodel generates large SysML v2 models of a stated shape and size, so the toolchain's cost can be measured against a model that looks like one a systems engineer would write rather than against one repeated declaration. |
|
testutil/enginecontract
Package enginecontract reads the vendored engine-contract.json: the qualified names in the extension libraries that the engine binds to.
|
Package enginecontract reads the vendored engine-contract.json: the qualified names in the extension libraries that the engine binds to. |
|
testutil/gobuild
Package gobuild builds a command of this module for a test that drives it as a process, so the coverage profile still credits what the process ran.
|
Package gobuild builds a command of this module for a test that drives it as a process, so the coverage profile still credits what the process ran. |
|
testutil/graphcmp
Package graphcmp compares two pointer graphs structurally, for tests: same values, same shape, same sharing, and nil kept apart from empty.
|
Package graphcmp compares two pointer graphs structurally, for tests: same values, same shape, same sharing, and nil kept apart from empty. |
Click to show internal directories.
Click to hide internal directories.