initial commit
instructions not optional; but an instruction may be a blank line. (File must end with NEWLINE.)
renamed item to defn (less confusion with parse Item in trace)
cosmetic changes to parse trace
Don't show empty parens after token with no text.
simpler for testing (removed index and qualifier from nonterm)
improved parse tracing code with log function
Removed NEWLINE from end of nonterm 'definition', to parse smaller.defn example correctly.
That file contained an indent in a blank line, so DEDENT was found after NEWLINEs.
Better spacing of output
removed index of alternates from parse trace
Shortened methods that display nonterms and alternates
Always print 'Syntax loaded from ' message
Improved parse trace output
Parse trace improved
More parse trace improvements (new token shown once, prefixes on nonterm failure, [not] found items)
Restored node.remove_children() in parse_alt(), to get rid of extra tree branches
LNAME renamed to LOWERNAME; defn.tokens shortened (cosmetic changes only, I hope)
More accurate display of sought token in parse trace
self.newtoken initialized False (instead of None)
started cleanup of __main__