@bascule Seems legit so long as you're planning to follow the full-recognition-before-processing rule.
-
-
-
@maradydd Maybe? You can think of it like a regular language, but with a self-delimiting string. Does that makes it context-sensitive? -
@bascule ... a packrat parser would be a clean and readable way to write it (though not the fastest thing on four wheels). -
@maradydd these are PEGs, right? Can they comprehend length-prefix encoding? -
@bascule Yup. Hammer has the h_length_value(const HParser* length, const HParser* value) combinator for that. The first arg is the ... -
-
-
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.