[ragel-users] Enabling / disabling transitions depending on host language expression.
Timothy Goddard
tim at goddard.net.nz
Sun Feb 23 23:10:13 UTC 2014
Yes, look for "semantic conditions" near the end of the ragel guide.
Sent from Samsung Mobile
-------- Original message --------
From: Grégory Pakosz <gpakosz at yahoo.fr>
Date:
To: ragel-users at 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 at complang.org
http://www.complang.org/mailman/listinfo/ragel-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20140224/5e841306/attachment-0001.html>
-------------- next part --------------
_______________________________________________
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