stuff: nl_list | un_list | tl_list | utl_list | items nl_list: m{} stuff m{} { "$item{stuff}" } ... ditto for the other three lists items: item(s) { join "", @{$item[1]} } item: /\w+/ { "$item[1]" }