Added second parameter to parse to pass data to the parser;
added parseError to argument list of performAction as yyerror;
moved grammar description variables into closure outside of the parser proto to give them static nature;
created object nature for Parser to allow for multiple instantiations;
moved other working variables from proto into constructor closure;
made parser code munge ready;
created options for table common code and export as constructor;
added code to remove token_stack label, if not used.