janet-sh VS clesh

Compare janet-sh vs clesh and see what are their differences.

janet-sh

Shorthand shell like functions for janet. (by andrewchambers)

clesh

CLESH a very short and simple program, written in Common Lisp, that extends Common Lisp to embed shell code in a manner similar to perl's backtick. (by Neronus)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
janet-sh clesh
4 3
77 64
- -
2.3 0.0
4 months ago over 3 years ago
Janet Common Lisp
- GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

janet-sh

Posts with mentions or reviews of janet-sh. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-05.
  • Writing Small CLI Programs in Common Lisp (2021)
    5 projects | news.ycombinator.com | 5 Sep 2023
  • Getting started with lisp
    8 projects | /r/lisp | 25 May 2023
    Right now, the one that is most attractive is Janet, with its wonderful shell programming integration and built-in http request. Those are both things I'm working a lot with.
  • Janet – a Lisp-like functional, imperative programming language
    10 projects | news.ycombinator.com | 13 Oct 2021
    I use Janet most often as a glue for shell utilities using the sh package (https://github.com/andrewchambers/janet-sh). It's a great tool for building small containerized jobs. I think it has a ton of potential as the ecosystem grows and matures.

    Some rough spots:

    - No canonical http client. There are a few attempts at wrapping libcurl but nothing complete and well documented yet. However, the creator of Joy framework for Janet does have an http client library.

    - The main http server circlet is MIT licensed, but it is built on top of Mongoose, which is GPL/paid commercial. Something to be aware of if you want to distribute binaries made with this library.

    - I have never been successful getting any of the UI or drawing libraries to work.

    - Naming of packages is a bit confusing even if you have watched the Good Place and are aware of all of the inside jokes.

  • Writing Small CLI Programs in Common Lisp
    6 projects | news.ycombinator.com | 17 Mar 2021
    The arguments I have seen are based on Janet using arrays/tuples rather than cons cells. Here is the author addressing this on reddit a while back. https://old.reddit.com/r/programming/comments/aqwedz/janet_i...

    The debate continues in the thread. Either way, I think Janet is very useful for situations where you want something lisp like and also want/need small executables. I've experimented with it quite a bit and have found it really useful for putting together cli apps. The sh package is really useful for gluing together other shell programs. https://github.com/andrewchambers/janet-sh

clesh

Posts with mentions or reviews of clesh. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-25.
  • Getting started with lisp
    8 projects | /r/lisp | 25 May 2023
  • Improving REPL experience in terminal?
    11 projects | /r/lisp | 17 May 2023
    Now, it's only personal, but I like to fire one-off shell commands… can we escape the Lisp REPL or not? If not, we could use a shell pass-through, for example "! ls" with clesh. Ruricolist's cmd is nice to have too. This is becoming an heresy, but what if we could fire a shell command and interpret its result with a Lisp function, or mix and match the two? Lish is doing an awesome work already, although it's a difficult field. Interactive commands like sudo and htop work there, at least. It ships a Lisp REPL and a debugger for the terminal too (similar to Roswell, then).
  • [Common Lisp] Best Libraries for Interfacing with UNIX-like Operating Systems?
    5 projects | /r/learnlisp | 7 Sep 2021
    Clesh - extends Common Lisp to embed shell code in a manner similar to perl's backtick. (I read awesome-cl) It could ease the process to include external calls.

What are some alternatives?

When comparing janet-sh and clesh you can also consider the following projects:

roswell - intended to be a launcher for a major lisp environment that just works.

lish - Lisp Shell

janetdocs - A community documentation site for the janet programming language

RLWRAP-SBCL-LISP-COMPLETIONS - How to enable TAB completions of common lisp commands using SBCL

termp - Trivial utility: are we in a terminal window or in a dumb one? (like Emacs' Slime)

fof - File object finder Common Lisp library

freja - Self-modifiable editor for coding graphical things

magic-ed - Editing facility for Common Lisp REPL

janet-pobox - Clojure like atoms/spinlocking in Janet

colisper - Check and transform Lisp code with Comby (beta)

hofmod-cli - Hofstadter generator for Golang CLIs

repl-utilities - Ease common tasks at the REPL.