Software Alternatives & Reviews

Pkl, a Programming Language for Configuration

Jsonnet Dhall Configuration Language GNU Guix
  1. A powerful DSL for elegant description of JSON data.
    Pricing:
    • Open Source
    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/528b00cd5c3a22e3d8f057bb1a75ea61 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).

    #Configuration Management #Software Development #Mobile Apps 32 social mentions

  2. A non-repetitive alternative to YAML
    Pricing:
    • Open Source
    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/528b00cd5c3a22e3d8f057bb1a75ea61 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).

    #Configuration Management #Software Development #Productivity 83 social mentions

  3. Like Nix but GNU.
    Pricing:
    • Open Source
    > So what we are missing now is a 500GB framework that can write the config file for the programming language that is writing a config file for the actual program I wish to use. That exists since 1960. It's called LISP. The e.g. https://guix.gnu.org/ uses with great success, the Guile Scheme dialect of LISP, to be precise. And FYI the "framework" is: <pre><code> $ ls --human-readable --size $(readlink $(which guile)).

    #Package Manager #Front End Package Manager #Developer Tools 90 social mentions

Discuss: Pkl, a Programming Language for Configuration

Log in or Post with