Completed refactoring

This commit is contained in:
Daniel Holden
2013-11-11 16:56:20 +00:00
parent fcc710df36
commit 341c2d6211
5 changed files with 275 additions and 305 deletions

View File

@@ -2,7 +2,8 @@
** Just Some Ideas:
**
** - Predictive Optimisation. Check all first character of all possible roots. If no conflict then predictive.
** - Or Optimisation. Check if any terminal parses are _ored_ together. If so condence into single large range.
** - Or Optimisation. Check if any terminal parsers are _ored_ together. If so condence into single large range.
** - And Optimisation. Check if any terminal parsers are _anded_ together. If so condence into single large string.
** - Not Optimisation. Similar to the above. Convert _nots_ into positive cases by inverting full range of characters.
** - Also Optimisation. Two Character parsers together can be condensed to a single string parser.
** - Lookup Optimisation. Finite State Machine Parser.