Yes, look for "semantic conditions" near the end of the ragel guide.
Sent from Samsung Mobile -------- Original message -------- From: Grégory Pakosz <gpak...@yahoo.fr> Date: To: ragel-users@complang.org Subject: [ragel-users] Enabling / disabling transitions depending on host language expression. 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@complang.org http://www.complang.org/mailman/listinfo/ragel-users
_______________________________________________ ragel-users mailing list ragel-users@complang.org http://www.complang.org/mailman/listinfo/ragel-users