Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Schemesh: Fusion between Unix shell and Lisp REPL. Parent comment
Now you can write
(import (schemesh all)) (shell-expr (lisp-expression-writing-to-sh-fd-stdout)) | some-shell-command-and-args | (shell-expr (lisp-expression-reading-from-sh-fd-stdin))
(fd-write (sh-fd-stdout) (string->utf8b "hello\n"))
(display (utf8b-bytespan->string (fd-read-until-eof (sh-fd-stdin))))
There are no comments on this comment yet.
Now you can write
An example of such expressions is: For writing to sh-fd-stdout, For reading from sh-fd-stdin,