Joeri Exelmans
|
3064fa0c4e
Rename some things, update README.
|
vor 5 Jahren |
Joeri Exelmans
|
261fc9ec8d
Move scripts for tests and rendering to 'src'. Update README
|
vor 5 Jahren |
Joeri Exelmans
|
7d7f3832fe
Remove JavaScript stuff. Move existing SCCD examples, doc and textualnotations to 'legacy' folder. Update setup script. Add digital watch example (doesn't run yet, need to figure out how to connect existing Python code with the statechart model)
|
vor 5 Jahren |
Joeri Exelmans
|
15128efe3f
Correction: event-based candidate generation should pre-cache all trigger's enabling events, not just the internal events (-> further improvement in no. cache hits)
|
vor 5 Jahren |
Joeri Exelmans
|
5468ca694c
Event-based transition candidate generation algorithm prepares its cache for all single-item sets of events.
|
vor 5 Jahren |
Joeri Exelmans
|
6a4316ef4a
Rename some fields, now that only bitmaps remain.
|
vor 5 Jahren |
Joeri Exelmans
|
3090e1255f
Re-implement history behavior to fix error in deep history test. Using bitmap operations where possible.
|
vor 5 Jahren |
Joeri Exelmans
|
4a3a9a0507
Fix error in set of enter states for Day & Atlee's example 4. Theoretically faster generation of "effective target states" by generating them *partially* statically. Quite complex and dirty at the moment.
|
vor 5 Jahren |
Joeri Exelmans
|
1bb5680d0d
fire_transition: exit set generation performance improvement.
|
vor 5 Jahren |
Joeri Exelmans
|
f57b8feee2
Add another example from Day & Atlee + correction in fire_transition: must exit all descendants of arena (not LCA!) + performance improvement in fire_transition.
|
vor 5 Jahren |
Joeri Exelmans
|
281a91b001
Add example 3 from Day & Atlee.
|
vor 5 Jahren |
Joeri Exelmans
|
577089ecb8
Move statechart-specific functionality from action_lang to statechart module
|
vor 5 Jahren |
Joeri Exelmans
|
99f2a33513
Fix bug in zero-length blocks.
|
vor 5 Jahren |
Joeri Exelmans
|
2c4aba04c2
Enable history in action language interactive prompt.
|
vor 5 Jahren |
Joeri Exelmans
|
f778b1bd61
Created an interactive prompt app for action language.
|
vor 5 Jahren |
Joeri Exelmans
|
14719055bb
Action language components are now completely independent from anything statechart-related.
|
vor 5 Jahren |
Joeri Exelmans
|
f796f29b60
Moved some more files.
|
vor 5 Jahren |
Joeri Exelmans
|
5c90ba0c93
Action language components almost completely independent of statechart components. Reorganize project directory structure.
|
vor 5 Jahren |
Joeri Exelmans
|
ceb4a73f2b
GC memory is read-only. Introduce Python class SCCDRuntimeException for all runtime exceptions. Clean up some things.
|
vor 5 Jahren |
Joeri Exelmans
|
012898370d
Abandon silly 'state scope' idea (too complex and difficult to combine with memory protocol semantics). Major revision of memory protocol implementation. Added support for function closures.
|
vor 5 Jahren |
Joeri Exelmans
|
819812bf79
Variables declared during enter actions are added to new 'state scope', so they can be read in transitions' guards and actions.
|
vor 5 Jahren |
Joeri Exelmans
|
9ed4bbd9c6
Got rid of dependency 'typing_inspect' giving problems with Python 3.6 by declaring our 'SCCD' types (for int, float, function, array, ...) instead of using Python's built-in types.
|
vor 5 Jahren |
Joeri Exelmans
|
cf2c4b4915
Add test indicating function closures are not supported.
|
vor 5 Jahren |
Joeri Exelmans
|
ee9218c8d6
Fix race condition detection + fix some outdated test files.
|
vor 5 Jahren |
Joeri Exelmans
|
2f1c07eebf
Add test for nested function declarations and recursion (although we probably don't want recursion in our statecharts)
|
vor 5 Jahren |
Joeri Exelmans
|
f93fc55dc3
Datamodel: Have a "setup" script declaring variables in the instance scope instead of silly XML tags <var> and <func> for variable and function declarations. Nicer syntax, more powerful and we reuse functionality (like parsing and interpreting a block of statements) instead of treating the datamodel as something special. Function declarations are just expressions assigned to variables or directly called. Nested function declarations should be fully supported (yet untested).
|
vor 5 Jahren |
Joeri Exelmans
|
99cf4d26bf
Increment/decrement assignment operators are not special, they are just syntactic sugar.
|
vor 5 Jahren |
Joeri Exelmans
|
f7eb3588c1
Proper static type inference for binary and unary expressions.
|
vor 5 Jahren |
Joeri Exelmans
|
09cc364711
Got Example 7 from Day & Atlee working!
|
vor 5 Jahren |
Joeri Exelmans
|
ae7057602a
Add some tests for return type static analysis.
|
vor 5 Jahren |