[ragel-users] Is it safe to modify the buffer on which a Ragel-generated FSM is operating?

Adrian Thurston thurston at complang.org
Wed Dec 23 04:20:49 UTC 2009


For sure, this is a behaviour you can count on.

-Adrian

Brian Pane wrote:
> In an action, can I safely modify the part of the input buffer prior
> to the the current position p?  I'm doing so currently, and it seems
> to work just fine, but I want to confirm that this is a behavior I can
> count on (due to the generated code inherently not requiring
> backtracking) rather than an implementation detail that might change
> in future Ragel releases.
> 
> Thanks,
> -Brian
> 
> _______________________________________________
> 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