Live data from Hacker News

Closh – Bash-like shell based on Clojure

github.com

51–60 of 138 posts

Re: Closh – Bash-like shell based on Clojure

#51
post #50

Call me old. But I want my shell to be a tight binary, preferably distributed (at some point) by major distros. This needs freakin' Node.js. I'm more looking in the Rust/Haskell/OCaml direction for a hip bash/zsh replacement.

Looking back, I'd like to add Go to the list. (Not that I consider it hip, probably the least hip on the list. But well suited for writing a shell I guess.)

Re: Closh – Bash-like shell based on Clojure

#53
post #38
post #6

another lisp shell: https://scsh.net/

scsh is awesome, although I don't believe it was intended to be used interactively. eshell[0] is another one. Has a few warts, but is generally pretty cool. Someday I'd like to write one in Common Lisp. Just haven't gotten a round tuit yet. [0] https://www.gnu.org/software/emacs/manual/html_mono/eshell.h...

Scsh runs in a modified scheme48 repl - no problems with interactive use, though I've not run it as an actual login shell, though perportedly that works

Re: Closh – Bash-like shell based on Clojure

#54
post #29

Nice, I've been waiting for a good modern shell to replace ZSH. Fish just wasn't enough of an improvement for me to abandon ZSH. This is an area where most open-source developers have avoided, as it's a "solved" problem, but it really isn't. I'm currently waiting on Elvish [1] to mature. It's written in Go [2], but they're developing a new language on top of it for shell scripting, which I tried for a week. It's a ni…

I'm a big fan of fish, particularly with omf. Though honestly it has some performance issues, particularly if your prompt line calls something that could take some time to resolve (such as git status or a du).

Re: Closh – Bash-like shell based on Clojure

#56
post #50

Call me old. But I want my shell to be a tight binary, preferably distributed (at some point) by major distros. This needs freakin' Node.js. I'm more looking in the Rust/Haskell/OCaml direction for a hip bash/zsh replacement.

Couldn't agree more with you on that one. Hell, even common lisp on sbcl would be better.

Re: Closh – Bash-like shell based on Clojure

#57

Earlier quoted context omitted.

i mean, really what is the point of Node ?

It's a highly performant platform, based on a rapidly evolving language that's easy to understand. As such it's largely democratised server/shell programming to millions of users and web developers who could have been turned off by more advanced syntaxes and programming concepts. These people have created millions of open source packages which now dwarf most other communities, and the platform has unlocked an incredi…

yes, and thankyou for answering. Why use Node over the JVM ?

Re: Closh – Bash-like shell based on Clojure

#58
post #29

Nice, I've been waiting for a good modern shell to replace ZSH. Fish just wasn't enough of an improvement for me to abandon ZSH. This is an area where most open-source developers have avoided, as it's a "solved" problem, but it really isn't. I'm currently waiting on Elvish [1] to mature. It's written in Go [2], but they're developing a new language on top of it for shell scripting, which I tried for a week. It's a ni…

> This is an area where most open-source developers have avoided, as it's a "solved" problem, but it really isn't.

I've found the complete opposite to be the case. This is one area where there are hundreds of different shells out there as it seems a "cool" thing to try since it's basically just an extension of writing your own language. Most never go beyond pet projects though.

If you're curious about Go shells, I'm writing one too[1]. It's also alpha but you can already write some reasonably complex scripts in it since it supports message passing, network sockets and background processes. It's definitely not fast though. Fast enough for what I need it to do but there's plenty of room for performance tuning once in beta.

[1] https://github.com/lmorg/murex

Re: Closh – Bash-like shell based on Clojure

#59

Earlier quoted context omitted.

i mean, really what is the point of Node ?

It's a highly performant platform, based on a rapidly evolving language that's easy to understand. As such it's largely democratised server/shell programming to millions of users and web developers who could have been turned off by more advanced syntaxes and programming concepts. These people have created millions of open source packages which now dwarf most other communities, and the platform has unlocked an incredi…

Millions of open source packages. Right.

Re: Closh – Bash-like shell based on Clojure

#60

Earlier quoted context omitted.

It's a highly performant platform, based on a rapidly evolving language that's easy to understand. As such it's largely democratised server/shell programming to millions of users and web developers who could have been turned off by more advanced syntaxes and programming concepts. These people have created millions of open source packages which now dwarf most other communities, and the platform has unlocked an incredi…

yes, and thankyou for answering. Why use Node over the JVM ?

That’s answered in the comments elsewhere on this page. Mainly because shell processes are started frequently and the JVM start-up time would be much too slow.
Post reply on HN