On 2012-01-23, at 0:26, Victor Khimenko <[email protected]> wrote:
> The answer is simple: you can't. Ragel generates DFA with actions attached. > This means: symbol in => action out. > > Your definition is ambigous: when you see a space you have no idea if it > belongs to the identifier or not. You must scan ahead and look for the next > non-space char: if it's colon then the previous space was not part of the > identifier, if it's alnum then it is. This is not something DFA can/should > do... Hi Victor, There is a chapter in the documentation about nondeterminism. Anything something there that can help in this situation? Gerald _______________________________________________ ragel-users mailing list [email protected] http://www.complang.org/mailman/listinfo/ragel-users
