kschiess/parslet — Issue #58: Transform Documentation should detail injectable context
Author: rpocklin
Created: 2011-12-02 14:27:10+00:00
State: open

I've been toying with parslet for 2 days now and only found how to inject context via the transformer.apply(tree, context) by looking through past issues via github. Would be better to publicise this in the documentation.
Note this is different from the y = 12 example.

To me this was essential to have, sure it's important for others too.

BTW Absolutely awesome parser - a powerful and elegant design.