Joeri Exelmans
|
e71f01fadf
Switch entirely to event-driven parsing.
|
vor 5 Jahren |
Joeri Exelmans
|
431c30a80c
Tests beginning with "fail_" instead of "test_" should give an error when loading. Add some tests of illegal situations.
|
vor 5 Jahren |
Joeri Exelmans
|
650cb9334c
Overhaul of directory structure.
|
vor 5 Jahren |
Joeri Exelmans
|
8b8fbba6b1
Parse tree-less parsing of expressions with Lark. Moved some stuff around.
|
vor 5 Jahren |
Joeri Exelmans
|
cd427692c0
Added Bitmap type. Added an alternative transition candidate generation implementation, starting from enabled events instead of the current state configuration. Candidate generation returns a generator instead of a list (better performance when there are lots of candidates, basically when there is no concurrency, candidate generation ends after the first valid candidate). Conflicting transitions (to which the Priority semantic aspect applies) are dealt with much more simply and efficiently by making assumptions about the order in which candidates are generated.
|
vor 5 Jahren |
Joeri Exelmans
|
e7fad50fbd
Every event name in the statechart gets a unique integer ID. This avoids string comparisons and enables us to represent sets of enabled events as bitmaps.
|
vor 5 Jahren |
Joeri Exelmans
|
612615a2e9
Executable state tree directly generated from XML source file (no compilation step). Event raising currently disabled so most tests broken. Using "lark-parser" to parse state references.
|
vor 5 Jahren |
Joeri Exelmans
|
6327a97aa9
Split 'statechart syntax' classes (basically just data classes describing the statechart model: State, Transition, ...) from 'statechart instance' (describing an instance of a statechart, with a set of current states, execution logic, etc.)
|
vor 5 Jahren |
Joeri Exelmans
|
549c81a8a8
Simplified things
|
vor 5 Jahren |
Joeri Exelmans
|
3148ee5da3
Fixed errors reported by mypy type checker + parallelism (worker pool) in render script.
|
vor 5 Jahren |
Joeri Exelmans
|
2e47398f26
Better to generate SMCAT files in python than with XSLT
|
vor 5 Jahren |
Joeri Exelmans
|
740c37c7eb
Got rid of OutputListener class.
|
vor 5 Jahren |
Joeri Exelmans
|
3eba2220ea
Test: check if the right amount of output is received
|
vor 5 Jahren |
Joeri Exelmans
|
27ee076307
Progress with untangling of mess
|
vor 5 Jahren |
Joeri Exelmans
|
4311d638af
Rename some things
|
vor 5 Jahren |
Joeri Exelmans
|
dad03679a0
Tests run the model in its own thread, concurrent with checking the model's output.
|
vor 5 Jahren |
Joeri Exelmans
|
3b1dc3aea2
A <slot> element in a test contains set of output events of a nonempty big step.
|
vor 5 Jahren |
Joeri Exelmans
|
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.
|
vor 5 Jahren |
Joeri Exelmans
|
76058129c1
Update python test framework a bit.
|
vor 5 Jahren |