[ragel-users] Re: Problem with long alphabet type

Carlos Antunes cmantu... at gmail.com
Thu Sep 13 15:30:26 UTC 2007


On 9/13/07, Adrian Thurston <thurs... at cs.queensu.ca> wrote:
>
> The semantic condition feature requires that Ragel be able to allocate
> characters from the alphabet space. Ragel uses these allocated
> characters to express "character c with cond1 true" or "c with cond1
> false." But internally Ragel uses longs to store characters and so if
> your alphabet type is long there is no more room left in the alphabet
> space to allocate from.
>

Maybe ragel6 "needs" to work with structs as a datatype instead? Maybe
have a switch to turn on/off the use of longs/structs? Just a
tought...



More information about the ragel-users mailing list