Sinelabore Homepage

Update for SysML v2. This version improves code generation and adds support for more SysML v2 features. For example, actions are now treated as first-class SysML v2 features and represented as structs in the generated code instead of methods. Check out the GitHub examples for details.

  • Actions are generated as structs with an operator() instead of class methods, including support for parameters and access to enclosing part attributes.
  • Action flows with succession, assign, decide, loop until, and if / else if / else control structures.
  • Two-pass SysML v2 code generation based on a symbol table for parts, attributes, actions, ports, and connections.
  • Part multiplicity support in the generated C++ code.
  • State machine history handling (shallow and deep history via naming convention).
  • Improved integration of state machines in parts, with generated code consolidated into the part implementation.