21 if ( val == 1 ) fnext *fentry(one);
22 if ( val == 2 ) fnext *fentry(two);
23 if ( val == 3 ) fnext main;
27 '{' => { prints "{ "; fcall *fentry(one); };
28 "[" => { prints "[ "; fcall *fentry(two); };
29 "}" sp* => { prints "} "; fret; };
30 [a-z]+ => { prints "word "; val = 1; fgoto *fentry(handle); };
31 ' ' => { prints "space "; };
35 '{' => { prints "{ "; fcall *fentry(one); };
36 "[" => { prints "[ "; fcall *fentry(two); };
37 ']' sp* => { prints "] "; fret; };
38 [a-z]+ => { prints "word "; val = 2; fgoto *fentry(handle); };
39 ' ' => { prints "space "; };
43 '{' => { prints "{ "; fcall one; };
44 "[" => { prints "[ "; fcall two; };
45 [a-z]+ => { prints "word "; val = 3; fgoto handle; };
46 [a-z] ' foil' => { prints "this is the foil";};
47 ' ' => { prints "space "; };
54 "[a[b]c]d{ef{g{h}i}j}l\n"
65 { word handle { word handle [ word handle space word handle ] word handle } word handle } ACCEPT
66 [ word handle { word handle [ word handle space word handle ] word handle } word handle FAIL
67 [ word handle [ word handle ] word handle ] word handle { word handle { word handle { word handle } word handle } word handle } word handle ACCEPT
69 word handle space word handle space word handle ACCEPT
70 { word handle space word handle space word handle } ACCEPT
71 [ word handle space word handle space word handle ] ACCEPT
74 [ [ [ [ [ [ ] ] ] ] ] ] ACCEPT