hn.today

Maak v1.0.0 – infinitely extensible command runner, build sys in Lisp

github.com3 points0 comments
Screenshot of Maak v1.0.0 – infinitely extensible command runner, build sys in Lisp

Maak is a command runner and project automation system built in GNU Guile Scheme. Instead of defining tasks in a purpose-made language, users write a normal Scheme module, where procedures become command-line tasks; their docstrings provide help, and their parameter lists define accepted arguments. Tasks can call and compose one another like ordinary functions, using the full Scheme language, libraries, and macros. The project’s central claim is that treating the build as a program makes automation more expressive, testable, and extensible than conventional build-tool DSLs.

Commands are launched with program names and arguments kept separate, avoiding shell quoting and re-parsing issues. Maak can show a dry-run plan with the exact commands and working directories, and provides pipelines, parallel jobs, file helpers, and readable task errors with hints. Its task discovery can inspect a file without executing it or requiring its imported libraries, supporting listings and plans even while a project is being edited. The toolkit also includes integrations for Guix and Nix, containers, and common ecosystems such as Rust, Python, JavaScript, and Maven or Gradle. Documentation covers task files in JSON, TOML, and YAML as more limited alternatives to Scheme. Maak offers editor support - especially for Emacs, alongside integrations for several other editors - shell completions, and distribution through Guix, Nix, Homebrew, containers, RPM, and Debian packages. It is MIT-licensed and intended for build, release, and general project automation.

Read on github.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Big Data Is Dead

Big Data Is Dead

Big data is not the main obstacle to useful insights: hardware has kept pace with data growth, while teams still struggle to make sense of their information. The author argues that organizations should focus on making data easier to understand and use, rather than buying tools built for ever-larger datasets. (motherduck.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.