zeptoforth VS dhall-lang

Compare zeptoforth vs dhall-lang 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
zeptoforth dhall-lang
12 113
157 4,133
- 0.6%
9.8 6.0
19 days ago about 2 months ago
Forth Dhall
MIT License BSD 3-clause "New" or "Revised" 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.

zeptoforth

Posts with mentions or reviews of zeptoforth. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-07.
  • Berry is a ultra-lightweight dynamically typed embedded scripting language
    10 projects | news.ycombinator.com | 7 Oct 2023
    microcontroller options are interesting, also Forths (https://github.com/tabemann/zeptoforth)
  • zeptoforth 1.0.0 is out! (Now with optional USB CDC support for the RP2040)
    3 projects | /r/Forth | 19 May 2023
    Patch-level release 1.0.1 is out. This release improves the disassembler, particularly adding the ability to properly disassemble string literals.
  • I'm wondering why so few forth microcontoller tutorials are out there?
    3 projects | /r/Forth | 10 May 2023
    This is a definite shameless plug, but I would recommend my zeptoforth - it has strong support for the RP2040 (e.g. the RPi Pico), including peripheral support and support for executing on both cores, and also has support for a number of STM32 platforms, and comes with a range of example code, documentation, and a wiki.
  • zeptoforth 0.45.0 out including SDHC/SDXC and FAT32 support
    1 project | /r/Forth | 15 Sep 2022
    The release itself is at https://github.com/tabemann/zeptoforth/releases/tag/v0.45.0
  • Open Source Forth Systems With First Class Preemptive Multitasking?
    2 projects | /r/Forth | 2 Jul 2022
    Zeptoforth has this, but it’s for embedded systems. https://github.com/tabemann/zeptoforth
  • Modules in zeptoforth
    1 project | /r/Forth | 9 Dec 2021
    I initially implemented a rather Forth 2012-like wordlist system based on GET-ORDER, SET-ORDER, GET-CURRENT, SET-CURRENT, and WORDLIST for my Cortex-M Forth, zeptoforth. However, I ended up finding these quite cumbersome and error-prone to use in code that makes heavy use of wordlists to control the namespace, as is the case with zeptoforth. As a result I decided to completely remodel wordlists into a module system which, while internally based on those five words, is outwardly much more like the module systems found in other languages.
  • Multicore multitasking for the RP2040 with zeptoforth
    1 project | /r/Forth | 21 Nov 2021
    Multicore support for the RP2040 with zeptoforth has been in the works for a while but up until the last few days has not been mature enough for me to even consider including it in the devel branch of zeptoforth. However, now it has reached the point where I can run multiple tasks simultaneously on separate cores. I have a working test that blinks the LED on the Raspberry Pi Pico at two different rates in two different tasks, one on each core, while simultaneously writing an asterisk to the console once every second from the second core and having a usable REPL in the main task on the first core. It should be noted that even the Micropython does not do this, as it only allows two tasks, one per core, rather than allowing multiple tasks to run on each core separately.
  • which forth do you guys use for normal day to day scripting and programming
    6 projects | /r/Forth | 17 Oct 2021
    I am the developer of zeptoforth, which is the main Forth I am using at the present. It supports the RP2040 (particularly the Raspberry Pi Pico, but it should work on other RP2040 boards), which I have been working with lately, and the STM32F407, STM32L476, and STM32F746 DISCOVERY boards. Note that it is not a desktop Forth; for that I would probably just recommend gforth.
  • zeptoforth 0.21.0 is out, now with RP2040 support!
    1 project | /r/Forth | 10 Oct 2021
    zeptoforth 0.21.0 (https://github.com/tabemann/zeptoforth/releases/tag/v0.21.0) is now out, and introduces support for the RP2040 microcontroller (e.g. Raspberry Pi Pico, any RP2040 board with Winbond Quad SPI flash should work). Note that it comes in UF2 format, so one codes not need to solder pins for SWD onto one's Raspberry Pi Pico format to load it, and also the Makefile automatically generates UF2 files. Furthermore, when said UF2 file is first loaded, it erases flash above it up to the 1 MB mark, so one does not need to use OpenOCD (with SWD) or a special eraser UF2 file to clear old code out of flash.
  • Why Forth?
    1 project | /r/Forth | 24 Mar 2021
    The result of this is zeptoforth, which I have been developing for about a year and four months. One could say that it fits the same niche as Mecrisp-Stellaris, and it admittedly supports far fewer MCU's at the present. I could have just used that rather than bothered to implement my own Cortex-M Forth, but I wanted to create my own Forth environment which I could play with as I saw fit (e.g. adding preemptive multitasking and other multitasking supports such as locks and channels).

dhall-lang

Posts with mentions or reviews of dhall-lang. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-03.
  • Apple releases Pkl – onfiguration as code language
    14 projects | news.ycombinator.com | 3 Feb 2024
    Fail to see how this is any different than Dhall (https://dhall-lang.org/) other than it produces plists too.
  • Pkl, a Programming Language for Configuration
    12 projects | news.ycombinator.com | 2 Feb 2024
    Kubernetes config is a decent example. I had ChatGPT generate a representative silly example -- the content doesn't matter so much as the structure:

    https://gist.github.com/cstrahan/528b00cd5c3a22e3d8f057bb1a7...

    Now consider 100s (if not 1000s) of such files.

    I haven't given Pkl an in depth look yet, but I can say that the Industry Standard™ of "simple YAML" + string substitution (with delicate, error prone indentation -- since YAML is indentation sensitive) is easily beat by any of:

    - https://jsonnet.org/

    - https://nickel-lang.org/

    - https://nixos.org/manual/nix/stable/language/index.html

    - https://dhall-lang.org/

    - (insert many more here, probably including Pkl)

  • Why the fuck are we templating YAML? (2019)
    27 projects | news.ycombinator.com | 23 Jan 2024
  • Is Htmx Just Another JavaScript Framework?
    9 projects | news.ycombinator.com | 11 Jan 2024
    There are underpowered languages / tools, that can only solve a problem for which they are intended poorly. But not all limited tools are like that.

    Say, eBPF is prominently not Turing-complete, which allows to guarantee that a eBPF program terminates, and even how soon. Still eBPF is hugely useful in its area.

    Or, say, regular expressions are limited to regular languages; in particular, they famously [1] cannot process recursive structures, like trees. Still tools like grep / ag / rg are mightily useful.

    Yes, I agree that YAML is underpowered for proper k8s configuration! But it's also too powerful for its own good in other aspects [2]. I wish Google used Dhall [3] or their own purely functional config language (FCL? I already forgot the name) instead of YAML; sadly, they did not.

    [1]: https://stackoverflow.com/a/1732454/223424

    [2]: https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-fr...

    [3]: https://dhall-lang.org/

  • 10 Ways for Kubernetes Declarative Configuration Management
    23 projects | dev.to | 1 Jan 2024
    Dhall: Dhall is a programmable configuration language that combines features like JSON, functions, types, and import capabilities. Its style leans towards functional programming, so if you're familiar with functional-style languages such as Haskell, you might find Dhall to be quite intuitive.
  • Berry is a ultra-lightweight dynamically typed embedded scripting language
    10 projects | news.ycombinator.com | 7 Oct 2023
    I've been thinking along these lines but more 'strongly validated' than statically typed in the sense that you'd be better off being able to load the entire config and then produce a list of problems (and should be able to offer good editor support if done correctly).

    Though https://dhall-lang.org/ demonstrates that you can statically type quite a lot of configuration to great advantage, which appears to be programmatically embeddable in multiple languages per https://docs.dhall-lang.org/howtos/How-to-integrate-Dhall.ht...

  • What Is the Point of Decidability
    1 project | news.ycombinator.com | 5 Oct 2023
    > Where practical is in the sense of an engineer (or in their terms, a CS practitioner),

    Configuration processing. E.g. I'd like my yamls to be decidable, though I'd settle for guaranteed to halt[1].

    [1] https://dhall-lang.org/

  • What Is Wrong with TOML?
    15 projects | news.ycombinator.com | 13 Sep 2023
    Maybe you'd like jsonnet: https://jsonnet.org/

    I find it particularly useful for configurations that often have repeated boilerplate, like ansible playbooks or deploying a bunch of "similar-but" services to kubernetes (with https://tanka.dev).

    Dhall is also quite interesting, with some tradeoffs: https://dhall-lang.org/

    A few years ago I did a small comparison by re-implementing one of my simpler ansible playbooks: https://github.com/retzkek/ansible-dhall-jsonnet

  • Show HN: FlakeHub – Discover and publish Nix flakes
    2 projects | news.ycombinator.com | 22 Aug 2023
  • Home Blog Better configuration languages – A talk about Dhall [video]
    1 project | news.ycombinator.com | 17 Aug 2023
    And to checkout Dhall: https://dhall-lang.org/

What are some alternatives?

When comparing zeptoforth and dhall-lang you can also consider the following projects:

durexforth - Modern C64 Forth

cue - CUE has moved to https://github.com/cue-lang/cue

gforth - Gforth mirror on GitHub (original is on Savannah)

jsonnet - Jsonnet - The data templating language

lbForth - Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.

cue - The home of the CUE language! Validate and define text-based and dynamic configuration

spf - SP-Forth

terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

ucode - JavaScript-like language with optional templating

jsonlogic - Go Lang implementation of JsonLogic

r4 - :r4 concatenative programming language with ideas from ColorForth.

nix-gui - Use NixOS Without Coding