Tjq: Giving Types to Jq

(github.com)

45 points | by thunderbong 16 hours ago ago

8 comments

  • alpaylan 6 hours ago

    Hi everyone, I'm the author of the package. This is something I had in mind for a while, and the results of the prototype is promising, so I'll keep working on it. My hope is to merge the analysis I do into upstream jq once I'm able to work on a large enough subset, and maybe keep a jq fork with type-hints at some point. I wanted to keep the README brief, so there are more details in the docs.md if you're interested. I'm also happy and excited to answer any questions!

  • anonymoushn 16 hours ago

    It doesn't seem to be particularly implemented. Better error messages could be cool though.

    • alpaylan 6 hours ago

      Hi, the current version is just a prototype, but it's definitely not a one-off demo, it's an analysis focused on a very small subset, and it works on that subset and produces the better error message I mention. The roadmap is in docs.md for now, I'll add more details to the readme once I figure out a nice and brief way to do it.

  • mdaniel 16 hours ago

    Too bad they didn't include a license with that repo

    • alpaylan 6 hours ago

      Just added the license, thanks for reminding me of it.

  • dgfitz 16 hours ago

    Tough crowd. Keep at it, looks neat.

  • 16 hours ago
    [deleted]