Commit Graph

10 Commits

Author SHA1 Message Date
Maurice Makaay c6fde2cf4e A big round of getting-ya-terminology-straight. 2019-05-26 09:25:34 +00:00
Maurice Makaay 2751c78003 Got rid of the full On()...etc chains for both code clarity and usability clarity. Working on good examples and shaving the API's accordingly. 2019-05-25 22:53:04 +00:00
Maurice Makaay 723e2a0c38 Added complete example for a parser. 2019-05-24 23:41:47 +00:00
Maurice Makaay 070a215ac3 More documentation example testing. 2019-05-24 21:34:54 +00:00
Maurice Makaay 3e87e010fb Banged some sense into the constructors. Instead of one convulated parsekit.New(), we now have parsekit.NewParser() and parsekit.NewMatcherWrapper(). ALso playing with adding examples to the documentation. 2019-05-24 20:50:31 +00:00
Maurice Makaay c164f320cb Implemented P.ExpectEndOfFile() and shortened some parser/combinator functions (since Go-people seem to like that better than a somewhat longer descriptive name) 2019-05-24 13:59:01 +00:00
Maurice Makaay 6ad4499971 Backup work, created a lot of tests for parser combinators and atoms. Pretty solid now! 2019-05-24 12:41:34 +00:00
Maurice Makaay d9ab7298e7 Cleanup of test code structure. Added support for creating parsers for either StateHandler or Matcher functions. 2019-05-23 00:04:10 +00:00
Maurice Makaay 8a09b7ca49 Implemented a lot of atoms in the parsekit library, ready for use by a parser implementation. 2019-05-22 12:44:29 +00:00
Maurice Makaay eca2adc9fa Initial import of the parsekit module. 2019-05-21 14:49:44 +00:00