Leonid S. Usov

Results 60 comments of Leonid S. Usov

Hi! I feel bad that at some point I fell out of the work that I've started on a couple of core developments here. Back then I had some spare...

It is covered in the [FAQ](https://github.com/stedolan/jq/wiki/FAQ#caveats) > 𝑸: Can jq be used as a JSON validator? > A: Strictly speaking, no. Although jq is fairly strict about what it accepts...

technically, it shouldn't be fixed, since it's a documented feature. Changing this behaviour will break backward compatibility. However adding a program switch to enable `--strict` mode would be fine in...

Why can't `jq` just accept and ignore comments for starters? Maybe with a `--strict` mode available (potentially, ON by default)

Cool, I'll try to be helpful then. By code review do you mean any formal process or just going over the code and leaving comments on github is the way...

@alimpfard sorry for the offtopic, but how did you do that collapsable compile errors block? It has arrived as such to my email, where I was able to expand it...

@alimpfard @nicowilliams indeed, changing the import to `import "jq/io" as io;` and adding a `.` filter at the end of the file removes all errors. @nicowilliams, there is no need...

@alimpfard As I understand it's an issue only since you're using the `-f` option. This option treats the file as main and not as a module. If your file is...

> Perhaps when you try to execute a module as a program, jq should create a top-level program `main`, and then the module can `def main: ...;` I love this,...