implement more nontoken functions
implement more nonterminal functions
implement more nonterminal functions
bare minimum complete to parse an empty program
fix typo