News for hackers. Stuff that matters.
Re:Alternative shell with native support for JSON, YAML, TOM... by jquast on Saturday February 27, 2021 @09:32AM (#26285068)
We could use pseudo pty’s to drive a remote bash through transpilation of a local shell if we wanted to fix that problem. It’s not unpossible.
Re:Alternative shell with native support for JSON, YAML, TOM... by chubot on Saturday February 27, 2021 @04:58PM (#26288563)
Hm that is an interesting idea and something like it has crossed my mind before. Oil will be well-suited for that strategy since it's bash compatible.

I don't know enough about terminals to judge how feasible or easy it is, but if anyone does, please chime in here:

https://github.com/oilshell/oil/issues/908

Re:Alternative shell with native support for JSON, YAML, TOM... by ithkuil on Saturday February 27, 2021 @01:33PM (#26286964)
How much of the complex processing (.e.g. selecting fields in json documents) could be done without having to pipe data back to the client (without relying on tools like jq on the server)?