Fair enough. Thanks! :)<br><br>-Nate<br><br><br><div class="gmail_quote">On Thu, Apr 7, 2011 at 2:20 PM, Adrian Thurston <span dir="ltr"><<a href="mailto:thurston@complang.org">thurston@complang.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I can't say when it will be done, but I can give you an issue number :)<br>
<br>
<a href="http://www.complang.org/redmine/issues/256" target="_blank">http://www.complang.org/redmine/issues/256</a><br>
<br>
-Adrian<div><div></div><div class="h5"><br>
<br>
On 04/06/2011 08:43 PM, Nate wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
Hi Adrian and friends,<br>
<br>
I need to re-parse some input, starting at an offset and an initial<br>
state. I know I can just set "p" to the offset and "cs" to the state,<br>
however, my states are meaningful outside of the parser. My program is a<br>
language parser for syntax highlighting, so I need int constants that<br>
represent the type of tokens founds. I need some way of saying, "parse<br>
this char[] at offset X using initial token type LITERAL_CHAR". I don't<br>
care if the LITERAL_CHAR constant is the same as the parser state, but I<br>
need some way of setting "cs" to a specific machine name or label.<br>
<br>
I came across a post on the mailing list from 2007 saying, "For a really<br>
long time now I've been meaning to implement a new feature which should<br>
help you out. %% write entry <machine_or_label>;". This would work<br>
nicely I think. I guess it has been a *really* really long time now, eh?<br>
:D Is there any chance that this feature could be implemented soonly?<br>
<br>
Thanks!<br>
-Nate<br>
<br>
PS<br>
Ragel is so awesome! :)<br>
<br>
<br>
<br></div></div>
_______________________________________________<br>
ragel-users mailing list<br>
<a href="mailto:ragel-users@complang.org" target="_blank">ragel-users@complang.org</a><br>
<a href="http://www.complang.org/mailman/listinfo/ragel-users" target="_blank">http://www.complang.org/mailman/listinfo/ragel-users</a><br>
</blockquote>
<br>
-- <br>
Adrian D. Thurston<br>
<a href="http://www.complang.org/thurston/" target="_blank">http://www.complang.org/thurston/</a><br>
<br>
_______________________________________________<br>
ragel-users mailing list<br>
<a href="mailto:ragel-users@complang.org" target="_blank">ragel-users@complang.org</a><br>
<a href="http://www.complang.org/mailman/listinfo/ragel-users" target="_blank">http://www.complang.org/mailman/listinfo/ragel-users</a><br>
</blockquote></div><br>