WIP: start to add awk-like BEGIN/END defs