Dialog via Homebrew

I’ve updated two Homebrew formula for Dialog. You can install these using brew install <formula> on OS X (Intel and Apple Silicon), and some versions of Linux (*).

Formula: dialog-if/brew/aamachine

This formula installs the aambundle and aamshow commands related to the Aa machine.

This formula replaces hlship/brew/aamachine which you must uninstall first (if previously installed).

Formula: dialog-if/brew/dialog-if

This formula installs dialogc, dgdebug, documentation, and the standard library files.

This formula replaces vickio/dialog/dialog-if, which you must uninstall first (if previously installed).

(*) I have not tested the Linux install for lack of a machine to do so.

5 Likes

Nice!

Which branches does this pull from? Is it the current dev builds on the main branch, or the most recent release? I assumed the latter, but we haven’t done an official release of the Å-machine yet.

It doesn’t build from source, formulas pull a distro, unpack it, copy files around.

You can see this in the formulae:

https://hd0.linusakesson.net/files/aamachine-0.5.1.zip

https://github.com/Dialog-IF/dialog/releases/download/release-1a01-1.1.0/dialog-1a01-1.1.0.zip

1 Like

I also have an hlship/brew/dialog-tool, but I think there’s a bug in alpha-9 I want to investigate first.

Neat! Also having a dialog-if@0m03 (dialog-if@0?) might be a spiffy nice-to-have for folks wanting to still use that version, but it’s only a nice-to-have.

I’m not sure what it takes to keep multiple versions of the same formula working concurrently. I can check it out when I get a breather.

1 Like

I’m now experimenting with having the Skein, which is resource-intensive, launch as a Clojure/JVM application; that makes it start up a bit slower than Babashka, but then it runs much, much faster.

Most of the commands in dgt will continue to run in Babashka and stay super-fast startup.

I need to tune a few things, and it means that the dialog-tool formula will need to depend on the clojure formula.

It may also open some possibilities to distribute dialog-tool as a self-executing JAR file instead of a Homebrew formula (for Linux and perhaps Windows).

1 Like

Fantastic! I’ve had no success installing and running dgt from Homebrew, but a self-contained JAR has less that can go wrong between systems.