|
|
|
|
|
by cosmos0072
88 days ago
|
|
Yes, they are similar at first glance. As I wrote: > If you know nushell, they will feel familiar as they are inspired by it - the implementation is fully independent, though. Looking deeper, there are two main differences: - Nushell structured pipelines are an internal construct, and only work with nushell builtins. Schemesh uses actual POSIX pipes, which allows to also insert executables in the pipelines. - schemesh also allows to insert arbitrary Scheme code in the pipelines. Nushell does too, in a sense: you have to write nushell language though |
|
Nushell is great because it is really "battery included" in the sense that it ships with most of what you will ever need: http client (no need for curl), export/import of most formats (yaml, toml, csv, msgpack, sqlite, xml), etc. That really avoids the library or tool shopping problem. You can copy the 50MB nushell binary on almost anything and your script will work.
This is why this is really a "modern shell" as it includes what you need in 2026, not 1979.
This is also why I use nushell rather than python or lua for most scripts.
I am not familiar with the Scheme ecosystem but see you are implementing a lot within your shell (http client, sqlite support) what is great. But does that mean I can produce a Schemesh binary that will include Chez Scheme and run my script on any Linux or FreeBSD host?
Anyway I think what you are doing is really great !