User loginNavigation |
archivesMy article on state machines and DSL evolutionI've been unhappy with with state machines, activity diagrams, and BPMN as tools for modelling processes for long time. In the article linked below I've used the same principles as were used for moving from flat languages (Asm, Fortran 66, BASIC, etc) to structured programming to create a behavior model that is some kind of behavior equivalent of Martin Fowler state machine model. https://dzone.com/articles/evolving-domain-specific-languages (Teaser) the end result for the sample is the following:
LOOP {
ESCAPE doorOpened {
DO lockPanel, unlockDoor
WAIT doorClosed
ALL {
WAIT lightOn
} AND {
WAIT drawOpened
}
DO lockDoor, unlockPanel
WAIT panelClosed
}
}
By const at 2022-05-05 12:54 | LtU Forum | login or register to post comments | other blogs | 1682 reads
|
Browse archivesActive forum topics |
Recent comments
4 hours 35 min ago
1 day 1 hour ago
2 days 6 hours ago
2 days 6 hours ago
1 week 7 hours ago
1 week 7 hours ago
1 week 7 hours ago
4 weeks 23 hours ago
4 weeks 6 days ago
4 weeks 6 days ago