All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
bnb.choice
now automatically detects the correct union type when using parsers of many different types (thanks @seanchas116)
- Method
parser.many0()
is nowparser.repeat()
- Method
parser.many1()
is nowparser.repeat(1)
- Method
parser.sepBy0(separator)
is nowparser.sepBy(separator)
- Method
parser.sepBy1(separator)
is nowparser.sepBy(separator, 1)
- Method
parser.repeat(min = 0, max = Infinity)
(thanks @seanchas116) - Method
parser.sepBy(separator, min = 0, max = Infinity)
(thanks @seanchas116)
- Documentation URL
- Method
parser.skip
- Method
parser.next
- Function
bnb.choice(...parsers)
- Function
bnb.all
(thanks @sveyret for the type signature)
- Interface
SourceLocation
- Interfaces
ActionResult
,ActionOK
,ActionFail
- Interfaces
ParseOK
,ParseFail
- Class
Context
- ES Modules build
parser.many1
was equivalent toparser.many0
- Initial release