Skip to content

Beta Release 10: OysterKit v2 (0.5.1)

Pre-release
Pre-release
Compare
Choose a tag to compare
@SwiftStudies SwiftStudies released this 25 Aug 15:05
· 132 commits to master since this release
794a404

Swift 4.2 and new API transition release

In this release I have added significant new capabilities to not only auto-generate the rules for parsing but also the Abstract Syntax Tree implemented as Swift types, and using the Decoding framework of standard Swift to automatically populate that based on the results of parsing with the rules.

In addition I have begun the work of refactoring the rule/token API to make significant optimisation available in the future and to dramatically simplify developing rules directly in Swift.

In this release old API is marked as deprecated, and the next release (0.6) will remove them completely to free me to start to benefit from the new architecture from now on.

This release requires at least Swift 4.2. Please use the swift/4.1 branch if you wish to continue with Swift 4.1 for now, but note only bug-fix pull requests from others will be applied from now on.