urn VS janet

Compare urn vs janet and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
urn janet
6 79
362 3,296
- 1.3%
0.0 9.4
over 5 years ago 7 days ago
Common Lisp C
BSD 3-clause "New" or "Revised" License MIT License
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.

urn

Posts with mentions or reviews of urn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-08.
  • Using other languages
    6 projects | /r/ComputerCraft | 8 Feb 2023
    There's many different languages that can compile to Lua: - TypeScript is probably the most well-known and most compatible language for Lua. The TypeScriptToLua compiler lets you compile TypeScript code into Lua with a mostly 1:1 conversion. You can use the @jackmacwindows/craftos-types and @jackmacwindows/cc-types NPM packages to add typing declarations for CraftOS APIs and modules. Alternatively, use my template repo for a more ready-to-go setup. - Haxe was built with compilation to Lua in mind, and so you can write code for it and have it run just fine in CC. There's some declarations for it available online, and I also have my own typing set for it (which I should really upload somewhere - DM me if you want it for now). - C# can also compile to Lua, but it's a bit tough to get working right in CC, as it has a huge default library and abuses the global table in a way that CC has trouble with. However, it's possible to use, and I've gotten it working in the past (unfortunately, I don't know how anymore). - Urn is a Lisp dialect that was built by two CC devs and was designed to run in CC. However, I wouldn't recommend it unless you're good with functional programming.
  • C-Lisp Implementations for microcontrollers?
    4 projects | /r/lisp | 1 Dec 2021
    Also, if the microcontroller you're working with is an ESP32 chip, you may be able to use use one of the lisp-to-Lua transpiled languages (urn or fennel) with something like Lua RTOS or NodeMCU. Not entirely sure how well this works in practice, but in theory it should be possible. Of the two, Fennel's probably more likely to behave well when used like this because it's more like a thin translation layer on top of Lua, but Urn's probably going to feel more comfortable to use because it feels like this weird mix of CL and Racket design.
  • Interesting or distinctive lisps?
    13 projects | /r/lisp | 29 Nov 2021
    Urn Lisp, A Lisp implementation on top of Lua: https://urn-lang.com
  • Trying Fennel for GTK apps and it's surprisingly good
    5 projects | /r/lisp | 20 Sep 2021
    I don't know how much of reloading you need. I did something like that many moons ago. See here: https://github.com/SquidDev/urn/issues/12
  • Urn for CC?
    2 projects | /r/ComputerCraft | 28 Jul 2021
    Clone Urn: wget run https://gist.githubusercontent.com/SquidDev/e0f82765bfdefd48b0b15a5c06c0603b/raw/clone.lua https://github.com/SquidDev/urn.git (or similar)

janet

Posts with mentions or reviews of janet. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-20.
  • Scriptable Operating Systems with Lua [pdf]
    2 projects | news.ycombinator.com | 20 Apr 2024
    Seems like a perfect use-case for Janet. (https://janet-lang.org/) A fast minimal VM like Lua, but even more extensible than Lua by being a "Lisp" with macro and C extension capabilities. Not a true Lisp, it's very pragmatic and performance-oriented. But it keeps the good stuff.
  • Ask HN: A Lisp with Cargo/NPM like build system?
    1 project | news.ycombinator.com | 7 Mar 2024
    You might be looking for: https://janet-lang.org/

    It comes with a build tool `jpm` which installs dependencies globally by default, but you can have it be installed in your project folder as well.

  • Babashka: Fast native Clojure scripting runtime
    2 projects | news.ycombinator.com | 24 Jan 2024
    I like Clojure, but I never had any good opportunities to use it other than for a few small hobby projects. It is unfortunate that it is so huge with tons of dependencies and no simpler native implementation. I started looking at various LISPs and Schemes to find something lighter to use instead and ended up settling for Janet that I think is Clojure-like enough to be comfortable to use, but in a small native binary with no dependencies and can be embedded in other native programs. I am sure for big, real, projects that Clojure makes more sense, but for my hobby projects and scripts I do not think I will install it again. I am still happy for the things I learned from learning Clojure. It was a real eye-opener for an old OO-programmer.

    https://janet-lang.org/

  • Janet Language
    1 project | news.ycombinator.com | 15 Nov 2023
  • Why Fennel?
    12 projects | news.ycombinator.com | 13 Sep 2023
  • Embeddable Common Lisp 23.9.9
    4 projects | news.ycombinator.com | 9 Sep 2023
  • Sharpscript: Lisp for Scripting
    5 projects | news.ycombinator.com | 5 Aug 2023
    One might also check out Janet for quick scripting tasks.

    https://janet-lang.org

  • Red Programming Language
    5 projects | news.ycombinator.com | 17 Jul 2023
    Thanks!

    I thought about another multiplatform, homoiconic, highly compact language: https://janet-lang.org/ (takes 803 kb on my machine).

    It has no types though.

  • Systems Programming with Racket
    2 projects | news.ycombinator.com | 1 Jul 2023
    Racket is great, and if you like it you might find Rash interesting:

    https://rash-lang.org/

    Janet and Gerbil Scheme are also worth a look:

    https://janet-lang.org/

    https://cons.io/

  • how did you finally reach Lisp enlightenment?
    1 project | /r/lisp | 15 Jun 2023
    Point here is that, for instance Janet language does not have cons / pair type but tuple (and so is lispoid, not lisp), but clearly this is sufficient for macros & hence seamless language construction: all you need is to be a lispoid although being a lisp gives another useful feature.

What are some alternatives?

When comparing urn and janet you can also consider the following projects:

Fennel - Lua Lisp Language

LiveSplit - A sleek, highly customizable timer for speedrunners.

get-started-with-clojure - Learn Clojure and Interactive Programming – Zero install

medley - The main repo for the Medley Interlisp project. Wiki, Issues are here. Other repositories include maiko (the VM implementation) and Interlisp.github.io (web site sources)

babashka - Native, fast starting Clojure interpreter for scripting

liz - Lisp-flavored general-purpose programming language (based on Zig)

scheme-for-max - Max/MSP external for scripting and live coding Max with s7 Scheme Lisp

cakelisp - Metaprogrammable, hot-reloadable, no-GC language for high perf programs (especially games), with seamless C/C++ interop

ferret - Ferret is a free software lisp implementation for real time embedded control systems.

flitter - A Livesplit-inspired speedrunning split timer for Linux/macOS terminal. Supports global hotkeys.

kaboom.js - 💥 JavaScript game library