1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
##### LM ##### lex token word /[a-z]+/ ignore /[\t\n ]+/ end def start [word*] parse Start: start[stdin] prints( stderr 'fd stderr: ' ^Start '\n' ) prints( stdout 'fd stdout: ' ^Start '\n' ) ##### IN ##### a b c ##### EXP ##### fd stdout: a b c