Joeri Exelmans
|
225a6d0c8d
Implemented user-defined functions. Parameter types explicit, return types statically inferred.
|
5 years ago |
Joeri Exelmans
|
19ac39f437
Add EvalContext data class to group parameters passed to Expression.eval, Statement.exec, Variable.load and Variable.store.
|
5 years ago |
Joeri Exelmans
|
33cf1867c5
Extend semantic option wildcard mechanism to comma-separated lists of options. Parse transition event attribute as comma-separated list of (possibly negated) events with parameters. Event parameters added to transition scope. Input port ignored when generating ID for input/internal event (need this for Day & Atlee's examples)
|
5 years ago |
Joeri Exelmans
|
73c7897945
Add statechart from Day & Atlee (doesn't work yet, need to implement: 1. event parameters, 2. user defined functions, 3. builtin functions 'log10' and 'int')
|
5 years ago |
Joeri Exelmans
|
84e26cc27f
Add example from Day & Atlee
|
5 years ago |
Joeri Exelmans
|
4fb521b6f8
Get rid of stack size optimization (made performance worse). Block-statement remembers its Scope.
|
5 years ago |
Joeri Exelmans
|
8ed7fc5ddb
Fix memory protocol semantics (always write to 'clean' memory, read from 'snapshot' memory)
|
5 years ago |
Joeri Exelmans
|
836c690e01
Prepare for multi-event triggers: Event trigger has bitmap with event_id's required to enable the transition.
|
5 years ago |
Joeri Exelmans
|
3e825ba583
Input port taken into account when assigning globally unique ID to input event.
|
5 years ago |
Joeri Exelmans
|
bb3cd2a13f
AfterTrigger is stateless again (as it should be)
|
5 years ago |
Joeri Exelmans
|
ea2e32768e
Added another example from Day & Atlee. Test nonterminating big step by setting limit on subrounds in superround.
|
5 years ago |
Joeri Exelmans
|
0e4e6fdd0d
Begin adding examples from Day & Atlee paper. Clearer error when <state> initial attribute is invalid. SVG renderer: workaround for order of orthogonal components.
|
5 years ago |
Joeri Exelmans
|
80d532b9a3
Simpler handling of tests expected to fail. Added race condition test.
|
5 years ago |
Joeri Exelmans
|
439bbee01d
Implemented Assignment Memory Protocol semantic options.
|
5 years ago |
Joeri Exelmans
|
6b090ad362
Add SVG-rendered statecharts
|
5 years ago |
Joeri Exelmans
|
45c38688c2
Implemented Enabledness Memory Protocol semantic options.
|
5 years ago |
Joeri Exelmans
|
075aec4436
Fix test files so they no longer expect the controller to "stabilize" instances. Proper exception chaining.
|
5 years ago |
Joeri Exelmans
|
767a2afbc8
Fix durations for input events. Fix renderer.
|
5 years ago |
Joeri Exelmans
|
0886183702
Simplify Duration class
|
5 years ago |
Joeri Exelmans
|
4a1bf22cb4
Move files around to confuse everyone
|
5 years ago |
Joeri Exelmans
|
1251b81f5a
Rename class 'Context' to 'Globals'
|
5 years ago |
Joeri Exelmans
|
713b49e2f0
Few lines of documentation about the XML parser.
|
5 years ago |
Joeri Exelmans
|
5154e9d990
XML parser: Split up further in class hierarchy dealing with different XML elements. All stack-like contexts explicit data members of parser classes.
|
5 years ago |
Joeri Exelmans
|
1d597629d6
Cleaner parsing
|
5 years ago |
Joeri Exelmans
|
e71f01fadf
Switch entirely to event-driven parsing.
|
5 years ago |
Joeri Exelmans
|
a66d3b03f8
Support fixed model delta.
|
5 years ago |
Joeri Exelmans
|
8870590d16
Greatest common divisor is calculated for all durations in a model, serving as the "model delta", the smallest amount of time that can be simulated. "After" transitions always have units.
|
5 years ago |
Joeri Exelmans
|
7283c09aad
Fine-tune parser rules. Split grammar file into 2.
|
5 years ago |
Joeri Exelmans
|
431c30a80c
Tests beginning with "fail_" instead of "test_" should give an error when loading. Add some tests of illegal situations.
|
5 years ago |
Joeri Exelmans
|
0cc5d101d9
All expression types are statically typed. Simple type checks in place, e.g. upon assignment and when performing a function call. Implemented alternative XML event-based parser, but it's quite messy. More useful XML loading errors showing fragment of source file with error highlighted. WIP: Durations (for "after"-transitions) with time units.
|
5 years ago |