DEV Community

Jishith Mp
Jishith Mp

Posted on

Update on Zen — we now have a package ecosystem

A few weeks back I shared some early Zen code examples. Since then, a lot has changed. We're now at v1.1.1 and the language actually has real tooling.

What's new:

Full CLI with package management

  • zen publish - publish packages directly from CLI
  • zen install - install packages from the registry
  • zen list - browse all published packages with pagination

Language improvements

  • Struct support with literals and returns
  • Regex with POSIX ERE (matchRegex)
  • File I/O with binary support
  • FFI bindings to C functions
  • 162 stdlib functions across math, strings, fs, os, http, crypto, path utilities

Package Registry (v1.0.0)

  • JWT-based authentication
  • GitHub-hosted packages
  • Support for both runnable apps and libraries
  • Semantic versioning

The reactive variables concept from the first post is still there (that was my favorite feature), and now you can actually write real programs and share them with the community.

Full docs: https://jishith-dev.github.io/zen-doc/site/

Install: curl -fsSL https://raw.githubusercontent.com/jishith-dev/Zen/main/install.sh | bash

Next up: HTTP server APIs, better imports, and whatever the community asks for.

Open to feedback and collaborators 💻

zen #programming #compiler #llvm #packagemanager #opensource #programminglanguage

Top comments (0)