diff options
Diffstat (limited to 'toks.m')
-rwxr-xr-x | toks.m | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +tok ::= ID [char] posn | CHAR char posn +posn == (num,num) + +analyse = +%lex +letter = `a-z\xfff\&A-Z-` +letter+ -> ID $$ $# +. -> CHAR (hd $$) $# +%% |