summaryrefslogtreecommitdiff
path: root/tests/test_parsers.cc
AgeCommit message (Expand)AuthorFilesLines
2010-04-21Fix a second type error in the parsers code.Daniel Burrows1-1/+1
2010-04-21Fix type errors caused by a change to the return type of fusion::make_vector.Daniel Burrows1-3/+10
2010-04-04Nomenclature change: manyOne -> manyPlus, sepByOne -> sepByPlus, skipManyOne ...Daniel Burrows1-26/+26
2010-04-04Implement a new system of "container parsers" that allows much more flexible ...Daniel Burrows1-10/+239
2010-03-21Add an explicit test that trailing separators don't confuse the parse library.Daniel Burrows1-0/+12
2010-03-21Write a parser that fails unconditionally.Daniel Burrows1-0/+21
2010-03-20Capture parse exceptions at the main entry point to the library and turn them...Daniel Burrows1-24/+12
2010-03-20Write code to test the error position reporting and parsing Boost ranges.Daniel Burrows1-0/+42
2010-03-20Write a "between" convenience routine that sandwiches a parser between two si...Daniel Burrows1-0/+53
2010-03-20Terminology change: skip -> skipMany.Daniel Burrows1-24/+24
2010-03-20Write a lexeme convenience wrapper that adds "drop trailing whitespace" to an...Daniel Burrows1-0/+31
2010-03-20Fix the expected input position after the foreach failure.Daniel Burrows1-1/+1
2010-03-20Test the failure case for both foreach and many.Daniel Burrows1-0/+24
2010-03-20Implement a sepBy parser for lists of separated values (e.g., comma-separated...Daniel Burrows1-0/+70
2010-03-20Change the internal protocol of the parser library to support tracking line a...Daniel Burrows1-1/+1
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 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-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 Burrows1-0/+116