translate/

directory
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: Apache-2.0

Directories

Path Synopsis
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL