- add a second optional argument to
regex()
indicating group selection - eliminates pjs dependency
- add seqMap, oneOf, and noneOf
- Added .custom, .test, and .takeWhile for folks who don't like to use regexes.
- Added
.desc()
for custom parse error messages
- breaking: deprecated use of
.then(function(result) { ... })
. Usechain
instead. - breaking: errors are no longer thrown on invalid parses. Instead,
.parse(str)
returns an object with astatus
tag, indicating whether the parse was successful.
- never throw strings, always throw error objects
- add the MIT license
- add browser files to the npm package
- started updating the changelog again :x
- breaking from 0.2.x:
seq
andalt
now take varargs instead of a single list argument.
- Uses less stack space with a non-cps implementation
- Added
Parsimmon.index
andParser::mark()
- fantasyland compatibility
- Better error messages: use the message from the furthest backtrack.
- Fix a "build directory nonexistent" bug :\
- Started a CHANGELOG
- Specify pjs 3.x
- added "use strict"
- Stopped trying to subclass Error (was silencing all parse errors :\ )
(Note: v0.0.3 is completely b0rken, and was unpublished from npm)