Commit Graph

3 Commits

Author SHA1 Message Date
Elf M. Sternberg ed406281f6 Upped version number, made m() and match() aliases. Should be no noticeable changes to API. 2013-05-10 21:25:33 -07:00
Elf M. Sternberg 3d7d9cfe69 match() shortened to just m(), now accepts strings as well as regexps.
I found myself writing a parser with lots of matches in sequence, and
wanted something a bit smarter.  This adds two bits of smarts: a shorter
name and string handling makes something like @seq(m('{'), @string,
m('}'))[1] much easier to read and debug.
2013-05-10 21:04:24 -07:00
Elf M. Sternberg bd77a5742d Docco'd the library. Updated the examples to use the new parse-inheritance. 2012-05-03 16:41:00 -07:00