MiSawa / xq

Pure rust implementation of jq
MIT License
333 stars 18 forks source link

Pass the input iterator to vm #109

Closed MiSawa closed 2 years ago

MiSawa commented 2 years ago

Current design that passes input value one by one and return an iterator per input value is simple, but it's impossible to handle inputs. We need to either pass the input iterator itself to the vm so vm can actively eat values from input.

MiSawa commented 2 years ago

Also the first base fork would be something similar to OnFork::Iterate but iterates on the input.