Directories
¶
| Path | Synopsis |
|---|---|
|
check
|
|
|
edit
Package edit rewrites the source a model was parsed from.
|
Package edit rewrites the source a model was parsed from. |
|
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. |
|
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. |
|
passes/document
Package document contains validation passes for document definitions and queries.
|
Package document contains validation passes for document definitions and queries. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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
|
|
|
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. |
|
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). |
|
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. |
|
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. |
|
lower
Package lower provides AST → execution IR lowering.
|
Package lower provides AST → execution IR lowering. |
|
queryplan
Package queryplan compiles native SysML document queries into immutable plans.
|
Package queryplan compiles native SysML document queries into immutable plans. |
|
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. |
|
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. |
|
query
Package query contains the transport-neutral element query model and evaluator.
|
Package query contains the transport-neutral element query model and evaluator. |
|
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. |
|
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. |
|
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. |
|
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. |
|
format
Package format re-indents SysML v2 / KerML source text.
|
Package format re-indents SysML v2 / KerML source text. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
interop/flexo
Package flexo drives a running Flexo MMS stack — the Layer 1 service and the SysML v2 API in front of it — so the RDF this project writes can be measured against what that service can actually read back, and 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 the RDF this project writes can be measured against what that service can actually read back, and 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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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). |
|
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. |
|
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
|
|
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
Click to show internal directories.
Click to hide internal directories.