[ragel-users] Conditional parsing

Iñaki Baz Castillo ibc at aliax.net
Tue Jul 1 10:21:50 UTC 2014


2014-06-29 0:43 GMT+02:00 Adrian Thurston <thurston at complang.org>:
> Using conditionals is one way. I'm not sure I fully understand your use
> case, but I think you can also make use of the ability to enter into any
> named instantiation. All machine instances are defined in the data section
> as constant values. It's just a matter of setting the current state to the
> appropriate value.

Hi, do you mean setting cs to point to an specific machine "fragment"?
May you please provide a little example?

Thanks a lot.


-- 
Iñaki Baz Castillo
<ibc at aliax.net>

_______________________________________________
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