Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For sure we need both human- and machine-readable stream formats, but I don't really see how QSN has any advantage in that space over `printf '%q\n'` and NUL-terminated strings, respectively.


I actually considered that, but it doesn't work.

https://github.com/oilshell/oil/wiki/Shell-Almost-Has-a-JSON...

Single quoted strings in shell can't represent arbitrary strings either.

And the %q format is actually different from the format ${x@Q} emits. QSN is a well-specified format.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: