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
Based on the examples and the definition of a parse() function it looks like it's only possible to parse strings, not the more generic Data. I think it would be a nice feature if it would be possible to run the parser over a generic Data as this would allow to parse more complex grammars where some rules may define a blob array or something like that.
Based on the examples and the definition of a
parse()
function it looks like it's only possible to parse strings, not the more genericData
. I think it would be a nice feature if it would be possible to run the parser over a genericData
as this would allow to parse more complex grammars where some rules may define a blob array or something like that.