Changelog
1.6.1 (2017-07-01)
Parsimmon.regexp(regexp, group)
will now correctly fail to parse
if the group
number is out of range for the regexp
number of groups. This
worked correctly in the past, but was broken during a minor code clean up due
to missing tests.Changelog
1.5.0 (2017-06-17)
NOTE: Code was completed on 2017-06-17, but due to human error, was not published on npm until 2017-06-26.
parser.sepBy(separator)
alias for Parsimmon.sepBy(parser, separator)
parser.sepBy1(separator)
alias for Parsimmon.sepBy1(parser, separator)
Parsimmon.range(begin, end)
parser.wrap(before, after)
parser.trim(anotherParser)
parser.tie()
Changelog
1.4.0 (2017-06-05)
Parsimmon.createLanguage(parsers)
parser.thru(wrapper)
parser.node(name)
Changelog
1.3.0 (2017-05-28)
Parsimmon.notFollowedBy(parser)
parser.notFollowedBy(anotherParser)
Changelog
1.2.0 (2016-12-22)
Parsimmon.lookahead(parser)
parser.lookahead(anotherParser)
Changelog
1.1.0 (2016-12-21)
Parsimmon.lookahead(string)
Parsimmon.lookahead(regexp)
parser.lookahead(string)
parser.lookahead(regexp)
Changelog
1.0.0 (2016-11-02)
parser.empty
is now a function (parser.empty()
).f.ap(x)
is now x.ap(f)
.parser.tryParse(str)
which either returns the parsed value or throws an
exception.fantasy-land/*
prefixed versions of methods.Parsimmon.empty()
is a copy of parser.empty()
..desc
descriptions for digits
, letters
, optWhitespace
.Parsimmon.isParser
.parser.fallback(value)
.Parsimmon.Parser
is equal to
Parsimmon
itself for backwards compatibility purposes.Parsimmon.makeSuccess
and Parsimmon.makeFailure
.Parsimmon.formatError
, Parsimmon.parse
,
Parsimmon.Parser
, Parsimmon.makeSuccess
, Parsimmon.makeFailure
,
Parsimmon.isParser
, parser.fallback
.Changelog
0.9.2 (2016-08-07)
browser
field to package.json
so unpkg serves the correct file.README.md
.