[ragel-users] Conditional parsing

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


2014-06-30 4:19 GMT+02:00 Tim Goddard <tim at goddard.net.nz>:
> Sounds like you have a common language, but want two separate sets of actions.
>
> You can include a file within a ragel machine - I'd write the grammar in one
> file, then declare the "main" object and actions within two separate parsers.

Good point!


-- 
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