Tjq: Giving Types to Jq
45 points by thunderbong 18 hours ago | 7 comments
  • mdaniel 17 hours ago |
    Too bad they didn't include a license with that repo
    • alpaylan 8 hours ago |
      Just added the license, thanks for reminding me of it.
  • anonymoushn 17 hours ago |
    It doesn't seem to be particularly implemented. Better error messages could be cool though.
    • alpaylan 8 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.
  • dgfitz 17 hours ago |
    Tough crowd. Keep at it, looks neat.
    • alpaylan 7 hours ago |
      Thanks a lot!
  • alpaylan 8 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!