Commit Graph

21 Commits

Author SHA1 Message Date
Ian Gulliver
e401d1e77b Big grammar expansion. 2014-06-29 22:23:06 -07:00
Ian Gulliver
3bc51e27a6 Formatting cleanup for grammar. 2014-06-29 18:27:46 -07:00
Ian Gulliver
14860b6323 Add a CharExcept building block. Switch MultiLineText and SingleLineText to be built on top of it. Also add OneOrMore, Char. 2014-06-29 18:20:28 -07:00
Ian Gulliver
08a6d90750 Satisfy linter. 2014-06-29 17:51:21 -07:00
Ian Gulliver
ef6f8800fd Big alphabetization. 2014-06-29 17:49:43 -07:00
Ian Gulliver
78cc56dc46 Make ZeroOrMore non-greedy to make it nestable without exponential behavior. 2014-06-29 17:39:24 -07:00
Ian Gulliver
2f03f4d9ff Delete a bunch of debugging getting me nowhere. 2014-06-28 22:23:54 -07:00
Ian Gulliver
6d06d14900 Fix rr.Or matcher inifite loop bug. 2014-06-28 17:30:21 -07:00
Ian Gulliver
24084ae523 Rewrite ZeroOrMore to produce all options instead of just the first. 2014-06-28 16:25:08 -07:00
Ian Gulliver
449a4f2418 s/Pair/SequentialPair/ 2014-06-28 12:05:52 -07:00
Ian Gulliver
1e13b75ad4 Add a Pair matcher. Turn Sequence into a Pair factory instead of a real matcher. 2014-06-28 00:05:46 -07:00
Ian Gulliver
049382a744 Everything annotated and passing verification. 2014-06-27 23:54:22 -07:00
Ian Gulliver
5fc694319e Passing test. 2014-06-27 23:07:33 -07:00
Ian Gulliver
3bee8b9acf Checkpoint: working parsing 2014-06-26 22:48:03 -07:00
Ian Gulliver
8d445df2c4 Checkin before I destroy everything. 2014-06-26 19:41:23 -07:00
Ian Gulliver
18476a1468 Don't require us to finish the whole string with our last item. 2014-05-20 17:23:32 -07:00
Ian Gulliver
835979f95e Start of parsing of mediawiki text. 2014-05-20 16:40:35 -07:00
Ian Gulliver
bbabf59505 Start of an actual parser. 2014-05-20 12:49:30 -07:00
Ian Gulliver
2bf3c67aa7 Start of API & tests. 2014-05-20 11:46:57 -07:00
Ian Gulliver
a6b6fdf2ea Fix grammar top-level object list. 2014-05-20 10:57:38 -07:00
Ian Gulliver
154fb25ee8 Starting idea of what a grammar should look like. 2014-05-20 10:56:20 -07:00