lone VS janet-sh

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
lone janet-sh
7 4
298 78
1.7% -
9.7 2.3
about 1 month ago 4 months ago
C Janet
GNU Affero General Public License v3.0 -
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.

lone

Posts with mentions or reviews of lone. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-11.
  • How to Write a (Lisp) Interpreter (In Python)
    18 projects | news.ycombinator.com | 11 Mar 2024
    I made something somewhat close to that: a freestanding lisp. It targets the Linux kernel directly. No libc.

    https://github.com/lone-lang/lone

  • Boehm Garbage Collector
    9 projects | news.ycombinator.com | 21 Jan 2024
    > register scanning isn't portable

    Certainly not but it wasn't particularly hard to implement either. I just wrote some inline assembly for every architecture. Here's my programming language's x86_64 and aarch64 implementations:

    https://github.com/lone-lang/lone/blob/master/architecture/x...

    https://github.com/lone-lang/lone/blob/master/architecture/a...

  • Show HN: Self-contained Linux apps in Lisp
    1 project | news.ycombinator.com | 25 Nov 2023
    Not too long ago, a project of mine was shared here on HN.

    https://news.ycombinator.com/item?id=38126052

    In that thread I wrote:

    > I have this vision in my mind: embedding lone modules into sections of the lone ELF and shipping it out. Zero dependencies, self-contained.

    I've been working on that since that day. Proud to say I've gotten it to work and thought I'd make it the subject of my first Show HN. Some free software projects gained features along the way too.

    The link is to an article with a proper demonstration, technical details and what happened in the past few weeks.

    The complete repository itself can be found here:

    https://github.com/lone-lang/lone

    I've completely reorganized it since the last thread. Would be very happy if you guys tried it out.

  • A standalone zero-dependency Lisp for Linux
    6 projects | news.ycombinator.com | 3 Nov 2023
  • Decoded: GNU Coreutils
    5 projects | news.ycombinator.com | 8 Sep 2023
    To test my programming language. It's a freestanding lisp interpreter that doesn't link to libc. I wrote the code that handles the environment variables and in order to test it I needed full control over the program's inputs including its environment. The env utility provides this control by emptying the environment and setting only the variables I specify, solving 90% of the problem. Only thing I still can't control is argv[0]. With this new feature upstreamed, my test suite will be complete.

    Here's the code if you'd like to take a look:

    https://github.com/lone-lang/lone#testing

    https://github.com/lone-lang/lone/blob/master/scripts/test.b...

  • Writing Small CLI Programs in Common Lisp (2021)
    5 projects | news.ycombinator.com | 5 Sep 2023
    > only to be confronted with the notorious 'incompatible glibc version error'. It's super annoying.

    I started making my own freestanding Linux Lisp because of this exact issue. It's nowhere near as performant as something like SBCL but it's small and once compiled has no dependencies and will literally run on any Linux.

    https://github.com/lone-lang/lone

    I'm taking a break from this project but I plan to add a feature where I can put a Lisp script into the ELF itself so I can just copy it with the scripts included.

  • The 90s Developer Starter Pack
    4 projects | news.ycombinator.com | 9 Jul 2023
    The kernel just puts the data contiguously on the stack. Obtaining pointers to them can seem somewhat magical if you're writing a nolibc program but I wouldn't call it horrible.

    I implemented it for my programming language with some rather simple assembly code:

    https://github.com/lone-lang/lone/blob/master/arch/x86_64.c#...

    https://github.com/lone-lang/lone/blob/master/arch/aarch64.c...

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

What are some alternatives?

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

mxe - MXE (M cross environment)

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

ohrrpgce - Official Hamster Republic RPG Construction Engine (mirror of SVN repository)

janetdocs - A community documentation site for the janet programming language

CIEL - CIEL Is an Extended Lisp. Scripting with batteries included.

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

dotfiles - config info

freja - Self-modifiable editor for coding graphical things

freebsd-src - The FreeBSD src tree publish-only repository. Experimenting with 'simple' pull requests....

janet-pobox - Clojure like atoms/spinlocking in Janet

liblinux - Linux system calls.

hofmod-cli - Hofstadter generator for Golang CLIs