SwiftStudies / OysterKit

OysterKit is a framework that provides a native Swift scanning, lexical analysis, and parsing capabilities. In addition it provides a language that can be used to rapidly define the rules used by OysterKit called STLR
BSD 2-Clause "Simplified" License
177 stars 23 forks source link

Rework error handling #83

Closed SwiftStudies closed 6 years ago

SwiftStudies commented 6 years ago

The new stack and rule system enables far more simple error handling, but the code is still littered with old special cases that are no longer required.

Before release of v1 this should be cleaned up to use simple hierarchical errors and all error handling removed from IRs and parsing strategies.

SwiftStudies commented 6 years ago

Although there is more work to do, the fundamental architecture is now there, and the old cruft cut away. Fixed in #84