199 karma · joined January 28, 2015
Judging is free and I didn't consider stdin as something to spend time on yet. Will do, now that some people raise it.
Thanks :D
I certantly didn't use it, but I see where it's useful, will implement it soon.
I have a issue to improve performance where I can push this forward: https://github.com/davesnx/query-json/issues/7
But sure, are caveats!
Before doing any curl | bash, check what's on the install command, that's the entire point of it.
Menhir/sedlex and others are pretty high accessibility barrier for new commers.
One of the nice things about all of it it's the discord, it's friendly and always helpful.
Hope it helps, just let me know if there's any specific!
There're a lot of quirks from the usage of it and people struggling with learning such a great tool, so in the area of query-json it will try to make a better interface for users.
I used Reason to compile to Native, so using OCaml's stdlib and OCaml's dependencies and compiling it with OCaml, but my source code is written in Reason syntax.
Reimplementing a piece of software that is 12 years old which mimics their UX and improves performance and error messages it's more than welcome in my opinion. My purpose was to learn the OCaml stack of writting compilers, so I personally found that I "needed" a language already created.
Thanks for raising those concerns
and there are a few techniques to "discover" the schema of the json file, I trend to read with '.' or 'keys' and later keep going.
I'm planning to implement a flag where each operation prints the internal state of the json, so you would see what are the "pipes".
I will pick a few of your cheatsheet to implement next in q, Thanks!
I will try to bring it to the brenchmark, thanks for sharing
I should specify that on the performance section, Thanks!
Happy to rename it to qj instead, but the option of renaming the binary it's a good workaround.
A good intro (at least for me, since I'm into videotutorials) is https://egghead.io/courses/get-started-with-reason.
I would add that the types from Reason are much "smaller" and concise, Option type or Result type and the immutability of Records/Objects creates an environment of safety that I don't have it in TypeScript.
Just to clarify and sell a little my ppx, styled-ppx supports the css prop as well, many people prefer that over the component api.
I'm doing great progress on it and don't want to miss something that is crucial for you.