5 ms·
Nicely done! I scratched a similar itch by creating Jowl[1], which uses JavaScript one-liners with the Lodash library to transform JSON. Like you, I wanted sy
by daxelrod 7y ago
Nicely done!
I scratched a similar itch by creating Jowl[1], which uses JavaScript one-liners with the Lodash library to transform JSON.
Like you, I wanted syntax that was more familiar to me than jq's, and like you, I wanted to use a language that was built for data structure transformation.
However, I offloaded all of the actual hard work to an existing JavaScript runtime, and to an existing library for data structure transformation, meaning I could punt on the parser and language design; the hard parts that you've taken on. I have this bookmarked to read through in more detail later this week.
[1]: https://github.com/daxelrod/jowl https://github.com/daxelrod/jowl
- cube2222 7y agoSounds great! I'll make sure to check out out! My approach was caused by the fact that I wanted to have a minimal language which only contains what really is necessary and is as regular as possible, to be very simple as a result.