Rewrite the 'rewriter' + Added transformation schedule to CBD example, simplifying the rules

This commit is contained in:
Joeri Exelmans 2024-11-08 16:27:32 +01:00
parent 80cba4b9f8
commit ad3752cd61
13 changed files with 292 additions and 244 deletions

View file

@ -1,6 +1,5 @@
state:RAM_State # <- must repeat elements from LHS that we refer to
in_signal:RAM_Signal {
# If the signal is already equal to the state, the NAC holds:
RAM_x = `get_value(this) == get_slot_value(matched('state'), 'x')`;
}
:GlobalCondition {
# No NAC
condition = `False`;
}