1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
##### LM ##### lex token id / 'a' .. 'z' / ignore / '\n' | '\t' | ' ' / end def start [id*] parse P: start[stdin] Start: start = P for Id: id in Start print( Id '\n' ) ##### IN ##### a b c ##### EXP ##### a b c