A sandbox for ragel development.
Development tools are in scripts.
developing with the kleene star
(a.k.a. re-ragel zero or more times)
requirements
- ragel
- feh
- dot (graphviz)
- inotifywait (inotify-tools)
- notify-send (libnotify)
# using ragel-build.sh to continually compile state machine
[tony@starship ragel-sandbox (master)]$ scripts/ragel-build.sh
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
# you make changes to any ../*.rl file
building bel (bel.rl)
# using ragel-statechart.sh to continually compile and view statechart
# for state machine
[tony@starship ragel-sandbox (master)]$ scripts/ragel-statechart.sh
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
# you make changes to any ../*.rl file
building template (template.rl)
generated state chart (template.png)
displaying state chart (template.png)
# then feh displays the state chart graph
warnings
- non-trivial ragel state charts can take a while to render