parse program w/ multiple decls