Sort tests alphabetically.
Changed the code compiler to support LexicalElements.
Fixed handling of lexical elements when no rules are memoized.
Added a (failing) test for overlapping nested lexical rules.