selecting a starting state or how to serialize a machine

Jason jason2... at
Sat Feb 24 04:08:35 UTC 2007

I am finding more uses for ragel all the time :-)
Now I am experimenting with using a ragel to model work flow logic.
For example, a document has an associated state, approved, rejected,
pending, etc. So I want to load the document and "post" events that
will drive the document status to new states, triggering actions
the way.

So the question is: How do I tell a ragel machine I want to start at
particular point (where it left off before)?

Do I just archive the entire machine variables (fixing up pointers of


More information about the ragel-users mailing list