The SCCD (Statecharts + Class Diagrams) compiler and runtime.

Joeri Exelmans 52823174d2 Proper block-of-statements static return type inference checking all branches and raising error if different branches have different return types. %!s(int64=5) %!d(string=hai) anos
bsml_features e92f44ba01 Rename python src dirs to match installed names (can set to 'src' dir so you don't have to re-install after every change). Updated SCCD schema to accept all existing tests. Added XML namespace to tests. Compiler checks input file against SCCD schema. New compiler dependency 'lxml' (largely compatible with xml.etree) for dealing with XML namespaces and schemas. %!s(int64=5) %!d(string=hai) anos
doc 46113778d9 associate_instance and disassociate_instance now fixed %!s(int64=8) %!d(string=hai) anos
examples 37525b9675 private ports now work in both directions; added a bouncing balls example where the SCCD model does not contain UI code (completely external) %!s(int64=6) %!d(string=hai) anos
src 52823174d2 Proper block-of-statements static return type inference checking all branches and raising error if different branches have different return types. %!s(int64=5) %!d(string=hai) anos
test fdc4868683 Action language: Implemented if-statements. Implemented raising events with parameter expressions. Rename some things. %!s(int64=5) %!d(string=hai) anos
textualnotations 068c424a35 Fix indentations. %!s(int64=7) %!d(string=hai) anos
.gitignore a6753bd559 Fixed all tests. %!s(int64=5) %!d(string=hai) anos
LICENSE 04ec602b01 initial commit (from svn repo) %!s(int64=9) %!d(string=hai) anos
README.md 19ac39f437 Add EvalContext data class to group parameters passed to Expression.eval, Statement.exec, Variable.load and Variable.store. %!s(int64=5) %!d(string=hai) anos
schema.xml e92f44ba01 Rename python src dirs to match installed names (can set to 'src' dir so you don't have to re-install after every change). Updated SCCD schema to accept all existing tests. Added XML namespace to tests. Compiler checks input file against SCCD schema. New compiler dependency 'lxml' (largely compatible with xml.etree) for dealing with XML namespaces and schemas. %!s(int64=5) %!d(string=hai) anos

README.md

Statecharts and Class Diagram Compiler

Dependencies

Mandatory

  • CPython >= 3.6 or PyPy >= 7.3.0 (Compatible with Python 3.6)
  • The following packages from PyPi:

Optional

  • state-machine-cat to render statecharts as SVG images. Runs on NodeJS, installable from NPM.