[ragel-users] interpreting ragel visualization
thurston at complang.org
Fri Jan 2 17:34:30 UTC 2009
Those are the conditions. 18 is the line of the literal text of the
condition in the source ragel file. 46 is the column. The bang means the
condition must fail. See the section in the manual on conditions and the
convention should come through (it is not explicitly specified).
Rustom Mody wrote:
> Thanks Adrian.
> I had not noticed the -p addition to the -V flag -- that shows the
> characters in printable form.
> But I still find one thing on the transitions indecipherable --
> Sorry if I am missing something in the manual. Just a pointer will be helpful
> Thanks again and a very happy new year
> On Wed, Dec 31, 2008 at 10:43 PM, Adrian Thurston <thurston at complang.org> wrote:
>> Hi Rustom,
>> When the alphabet type is a signed value like char, the values with high
>> bit set are displayed as negative. If you change the alphabet type to
>> unsigned char they'll show up as > 127.
>> The values inside parens are references to conditions. If a named action
>> is used a name shows up there. Otherwise you get line;col. The bang means
>> that the transition is taken only when the condition fails (returns
>> Happy New Year!
> ragel-users mailing list
> ragel-users at complang.org
More information about the ragel-users