[ragel-users] can ragel tell me the type of final state?
thurston at complang.org
Thu Aug 27 17:21:55 PDT 2009
Ya, there is no language support for this at present. You'll have to use
I think it would be good if one could embed properties into states and
then query whether or not the property is set at runtime. It would have
a number of applications, including this.
Brian Palmer wrote:
> Hi, I have a use case where I need to differentiate between final
> states with outgoing transitions, and final states without outgoing
> transitions. In other words, I need to whether there is the
> possibility of further input being parsed, even if cs >= first_final.
> Can ragel tell me which kind of state cs is? Or will I need to track
> this externally with an action? I suspect the latter since I couldn't
> find anything in the docs, but thought I'd ask.
> -- Brian Palmer
> ragel-users mailing list
> ragel-users at complang.org
More information about the ragel-users