A small implementation of JQ.
What is it?
How does it work?
It uses a parsed expression grammar (via Peggy) to transform JQ expressions into a series of "op codes", with each one representing a JQ filter operation. Each op code is executed with a context, which is initialised with the input object. As each op code executes, the context is updated.
- Implement enough of the JQ syntax to be useful
- Implement it the same as JQ
- Complete implementation of JQ (but the level of completeness may increase over time).