Download
ears 0.1.1: the earslang compiler, for macOS, Linux and Windows. The playground runs the same version. The commands are in ยง11 of the specification.
| Platform | ears | Importers (experimental) |
|---|---|---|
| macOS, Apple silicon | ears-darwin-arm64 | kiro, speckit, openspec |
| macOS, Intel | ears-darwin-amd64 | kiro, speckit, openspec |
| Linux, x86-64 | ears-linux-amd64 | kiro, speckit, openspec |
| Linux, ARM64 | ears-linux-arm64 | kiro, speckit, openspec |
| Windows, x86-64 | ears-windows-amd64.exe | kiro, speckit, openspec |
Save the file as ears (ears.exe on Windows) in a folder on your PATH. On macOS and Linux, make it runnable: chmod +x ears.
The importers are experimental, a work in progress: check what they write. Save one as ears-import- followed by its name in the table (with .exe on Windows), in a folder on your PATH, make it runnable on macOS and Linux as above, and ears import --from followed by that name runs it.
To put the compiler in your own page, see Embed.
Every file's SHA-256 is in SHA256SUMS.
From a terminal (macOS and Linux)
The macOS binaries are not signed with an Apple Developer ID. macOS blocks such a program if a browser downloaded it. A program downloaded with curl runs. These commands are for macOS on Apple silicon; for another platform, use its file name from the table.
curl -fLo ears https://gitlab.com/earslang/ears/-/releases/v0.1.1/downloads/ears-darwin-arm64
chmod +x ears
shasum -a 256 ears
./ears version
Compare the hash with the line for the file in SHA256SUMS. On Linux, sha256sum ears gives the same hash. Then move ears to a folder on your PATH.
If a browser downloaded the file and macOS will not open it, remove the mark the browser put on it, then run it:
xattr -d com.apple.quarantine ears
chmod +x ears
From PowerShell (Windows)
Invoke-WebRequest -Uri https://gitlab.com/earslang/ears/-/releases/v0.1.1/downloads/ears-windows-amd64.exe -OutFile ears.exe
Get-FileHash ears.exe -Algorithm SHA256
.\ears.exe version
Compare the hash with the line for the file in SHA256SUMS; PowerShell prints it in capitals. Then move ears.exe to a folder on your PATH.
With Go
go install earslang.com/cmd/ears@v0.1.1
The programs are under the Apache License 2.0. They include Go's runtime, under Go's licence, and the modules they are built from, each under its own licence. The release holds each of these licences beside the programs, in the files whose names start with LICENSE.