fixed "literal" and "except" conversions
Added TAB character handling to UnicodeDocument.
Added (almost) proper equality for Range.
Also allow digits in names of nonterminals.