summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Expand)AuthorFilesLines
2010-03-20Use "parse" as the name of the main entry method, and "apply" as the name use...Daniel Burrows1-105/+105
2010-03-20Implement a convenience parser that parses zero or one copies of something.Daniel Burrows1-0/+45
2010-03-20Implement a parser that skips at least one copy of a token.Daniel Burrows1-0/+52
2010-03-20Implement a convenience wrapper using many_p<> and assert_p<> to parse only n...Daniel Burrows1-0/+62
2010-03-20Write a parser type that performs a post-assertion on the value that another ...Daniel Burrows1-0/+34
2010-03-20Use an appropriate typedef in std::string instead of ptrdiff_t.Daniel Burrows1-88/+90
2010-03-20Name the tests of followedBy "*FollowedBy*" instead of "*Lookahead*".Daniel Burrows1-4/+4
2010-03-20Implement a notFollowedBy parser, after Parsec's parser of the same name.Daniel Burrows1-0/+32
2010-03-20Implement a construct_f function object that wraps object constructors, and t...Daniel Burrows1-0/+9
2010-03-20Add tests of the lookahead parser.Daniel Burrows1-0/+32
2010-03-20Change the tests for (<<) and (>>) to verify return values.Daniel Burrows1-6/+8
2010-03-20Write a dual to (>>), (<<), which keeps its first argument instead of its sec...Daniel Burrows1-0/+105
2010-03-20Implement a parser that doesn't parse anything; instead, it just acts as an "...Daniel Burrows1-0/+77
2010-03-19Write some tests of the tuple parser.Daniel Burrows1-0/+54
2010-03-19Add a test that "maybe" returns the right thing.Daniel Burrows1-0/+9
2010-03-19Add tests of the "maybe" parser.Daniel Burrows1-0/+22
2010-03-19Add another test to explicitly check that multiply chained failures never try...Daniel Burrows1-1/+9
2010-03-19Fix the cost component test to be less lazy about naming types, so it works i...Daniel Burrows1-7/+7
2010-03-19Fix test_parsers.cc for platforms where ptrdiff_t isn't the same as "int".Daniel Burrows1-60/+60
2010-03-18Write tests of the "or" parser.Daniel Burrows1-0/+136
2010-03-18Also make cost parsing exceptions derive from std::exception.Daniel Burrows1-1/+1
2010-03-18Write tests for the "many" parser.Daniel Burrows1-0/+56
2010-03-18Write tests of the "skip" parser.Daniel Burrows1-0/+52
2010-03-18Write test of the foreach parser.Daniel Burrows1-0/+64
2010-03-18Use operator[] to attach custom expected values instead of operator<<.Daniel Burrows1-1/+1
2010-03-18Write a test of the set-expected parser.Daniel Burrows1-0/+28
2010-03-18Add tests of what happens when you chain several operator>> calls together.Daniel Burrows1-0/+39
2010-03-17Write some tests of the "and then" (>>) parser.Daniel Burrows1-0/+66
2010-03-17Write a test of the val() parser.Daniel Burrows1-0/+12
2010-03-17Actually invoke the new str() test.Daniel Burrows1-0/+1
2010-03-17Write a test of the str() parser.Daniel Burrows1-0/+20
2010-03-17Write a test for the EOF parser.Daniel Burrows1-0/+25
2010-03-17What we really care about when checking where "begin" moves after a failed in...Daniel Burrows1-2/+2
2010-03-17Invoke the public parser_base interface instead of the parse() interface ever...Daniel Burrows1-20/+20
2010-03-17Write some tests of the integer parser.Daniel Burrows1-0/+74
2010-03-16Add a suite of parser combinators.Daniel Burrows2-0/+117
2010-03-15Write basic unit tests for the new resolver cost code.Daniel Burrows2-1/+389
2010-03-15Introduce new hint types to tweak cost components.Daniel Burrows1-16/+31
2010-03-11Attempt to optimize the resolver by not creating unnecessary intermediate tie...Daniel Burrows1-0/+82
2010-03-07Reverse a change to disable a bunch of tests that snuck into my last commit.Daniel Burrows1-2/+1
2010-03-07Merge changes on my laptop with changes on my desktop.Daniel Burrows4-244/+126
2010-03-05Overhaul the resolver to distinguish between tiers and changes to tiers; this...Daniel Burrows4-248/+130
2010-02-07Fix the expected lubs matrix.Daniel Burrows1-1/+1
2010-02-07Fix an incorrect expected value.Daniel Burrows1-1/+1
2010-02-07Add a second sanity-check on tiers for arithmetic overflow.Daniel Burrows1-0/+7
2010-02-07Indentation fix.Daniel Burrows1-2/+2
2010-02-07Fix the definitions of the inputs to the tier operation test code.Daniel Burrows1-2/+2
2010-02-07Handle uncaught exceptions more cleanly.Daniel Burrows1-1/+53
2010-02-07Initial implementation of a tiering system that is both sound and flexible.Daniel Burrows3-70/+134
2010-02-03Add support to the immset for accumulating the result of running an associati...Daniel Burrows1-14/+88