Changes for version 0.05

  • Changed the code for handling get/restore of position within the call tree. Quantifiers were a serious jumble with this. added some debugging routines, cause this gets pretty nasty even with a simple grammar. See the GNAWMONITOR subroutine, now called amply throughout the module. last but not least, I added a new quantifier test (command_quantifier_multi). This test creates a grammar of
  • series(greedy(lit('x'),'s'), greedy(lit('x'),'s')).
  • The parser should be able to handle it, but doesn't. test fails. Probably another problem with the fricken markers. Actually, probably an issue with getting the call to greedy to remember the last number of times it tried, and try one less the second time around. need to debug the quantifier "try" and "success" numbers through the flow. Argh.
  • oh, and put hardreturns into the readme.

Modules

Define parse grammars using perl subroutine calls. No intermediate grammar languages.