1 2 3 4 5 6 7 8 9 10 11
lex start { ignore /[ \t\n]+/ token id /[a-z]+/ literal ',', '.', '*', '(', ')' } def lang [id*] print( construct lang "a b c", '\n' )