[ragel-users] interpreting ragel visualization

Adrian Thurston 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).

Cheers,
  Adrian

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 --
> '\r'(18:46)
> or
> '|'(!63:66)
> 
> Sorry if I am missing something in the manual. Just a pointer will be helpful
> 
> Thanks again and a very happy new year
> 
> Rustom
> 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
>> false).
>>
>> Happy New Year!
>>
>> Adrian
> 
> _______________________________________________
> 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