/* * Hand built version of some of new-grammar-tst.rsl */ %token Yprogram %token Ybegin %token Yend %token ';' %% program : 'program' decls 'begin' stmts 'end'; decls : decl | decls ';' decl ; stmts : stmt | stmts ';' stmt ; decl : ; stmt : ; %%