TP-automates/BE_2020_2021/tests/sujet.sml
2023-06-21 19:58:18 +02:00

11 lines
202 B
Standard ML
Executable file

machine lamp {
event switchOn
event switchOff
region bulb {
state Off starts ends
state On
}
from bulb.Off to buld.On on switchOn
from buld.On to buld.Off on SwitchOff
}