Updated regex escapes

This commit is contained in:
Daniel Holden
2013-11-10 12:01:23 +00:00
parent 51faac5778
commit 0e8d2865d6
3 changed files with 73 additions and 77 deletions

11
mpc_optimise.h Normal file
View File

@@ -0,0 +1,11 @@
/*
** 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.
** - 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.
** -
**
*/