stchang/parsack — pull request #30 by greghendershott (2014-02-02 03:26:36+00:00)
Title: User state

Add equivalents of Parsec `setState` and `getState`, enabling a user to thread bits of state through parsers. This is necessary in situations where someone might use Racket `parameter`s, which aren't compatible with Parsack's use of `lazy` and `force`. As a convenience, also add `withState` syntax, which is the analog of `parameterize`.