Obviously, you need to read the documentation. Then there is the example directory. I would
recommend to start with the simple ones and augment them with additional actions, just to see
the effect and to learn when they are called. You must really know what an "entering",
"finishing", "all transition", or "leaving" action does and when these actions happen.
At some point you must decide whether you want a state machine or a scanner for your project.
The state machine does not do something like a longest match. You will find out soon what makes
sense in which situation.
_______________________________________________
ragel-users mailing list
ragel-users@complang.org
http://www.complang.org/mailman/listinfo/ragel-users