Hi,
        I've just recently started learning Ragel. I have read the guide pdf  
and I can't seem to find a solution to this problem.
Let's say I have this grammar:
        %%{
                op = '+'+;
                word = alpha+;
                spaces = ' '+;
                base =    spaces
                                | word >start_word $in_word %end_word
                                | op >start_op $in_op %end_op
                                ;
                main := base+;
        }%%

What I would like to see is this:
        http://imgur.com/POP8U.png

What Ragel compiles is this:
        http://imgur.com/x36VA.png

Can anyone help me get the behavior I'm looking?

Much thanks,
Rich.

_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to