No description
Find a file
Meredith L. Patterson 318b594bed Parser combinators are well underway. Ones that are now finished are:
* token: matches a sequence of bytes (with length)
 * ch: matches a single byte
 * range: matches any byte within the range [lower, upper] (inclusive)
 * join_action: joins the results of another parser with a separator
 * negate: matches the opposite of any single-character parser
 * end_p: succeeds if there's no input left to parse
 * nothing_p: always fails

One other big change: the AST is now a GSequence of parsed_token_t's. WARNING: This is not actually enforced, because C.

Also tweaked the makefile a little (which will get clobbered in TQ's next commit) and added some documentary comments to hammer.h.
2012-05-01 00:33:47 +01:00
lib That should fix the build on Ubuntu; also, it should add a clean target 2012-04-30 02:21:22 +01:00
src Parser combinators are well underway. Ones that are now finished are: 2012-05-01 00:33:47 +01:00
.gitignore Wrote basic makefile, wrote tests, and then fixed them 2012-04-29 01:45:52 +01:00
common.mk Parser combinators are well underway. Ones that are now finished are: 2012-05-01 00:33:47 +01:00
LICENSE Licensing under GPL v2. 2012-04-23 00:02:42 +01:00