##### LM ##### rl ident_pattern /[a-zA-Z_][a-zA-Z_0-9]*/ rl number_pattern /[0-9]+/ lex ignore /[ \t\n]+/ token id /ident_pattern/ token number /number_pattern/ end def four_ids [id id id id] Constructed: four_ids = construct four_ids "a b c d" print_xml( Constructed ) print( '\n' ) ##### EXP ##### abcd