Grégory Pakosz
2014-02-23 21:45:41 UTC
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
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