<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div>Yes, look for "semantic conditions" near the end of the ragel guide.</div><div><br></div><div><br></div><div><div style="font-size:75%;color:#575757">Sent from Samsung Mobile</div></div> <br><br><br>-------- Original message --------<br>From: Grégory Pakosz <gpakosz@yahoo.fr> <br>Date: <br>To: ragel-users@complang.org <br>Subject: [ragel-users] Enabling / disabling transitions depending on host
language expression. <br> <br><br>Hello,<br><br>With Ragel, is there a way to enable/disable transitions depending on<br>the evaluation of an expression in the host language?<br><br>I have the following in mind:<br><br>main := m1 | m2 | m3<br><br>And I would like to inhibit entering m1 or m2 or m3 depending on runtime state.<br>Is this possible? If it's a wrong approach, what's the canonical Ragel<br>approach then?<br><br>Thank you,<br>Gregory<br><br>_______________________________________________<br>ragel-users mailing list<br>ragel-users@complang.org<br>http://www.complang.org/mailman/listinfo/ragel-users<br><br></body>