[ragel-users] Enabling / disabling transitions depending on host language expression.

Grégory Pakosz gpakosz at yahoo.fr
Sun Feb 23 21:45:41 UTC 2014


Hello,

With Ragel, is there a way to enable/disable transitions depending on
the evaluation of an expression in the host language?

I have the following in mind:

main := m1 | m2 | m3

And I would like to inhibit entering m1 or m2 or m3 depending on runtime state.
Is this possible? If it's a wrong approach, what's the canonical Ragel
approach then?

Thank you,
Gregory

_______________________________________________
ragel-users mailing list
ragel-users at complang.org
http://www.complang.org/mailman/listinfo/ragel-users



More information about the ragel-users mailing list