I'd like to use Ragel to scan some abc notation files, but have run into a
problem where Ragel's compilation time expands by a couple of orders of
magnitude when I add actions to certain transitions. Below is a simplified
test case that demonstrates the problem.
%%{
machine test;
action action_x {}
b = ('a' [a-c]+ 'a') | ([a-c] >action_x 'b');
main := ('c' b+)+;
}%%
The addition of the '>action_x' in machine b triggers the slowdown. Any
suggestions on how to workaround this problem?
Thanks,
Ed
_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users