Cherri – programming language that compiles to an Apple Shortcut

Cherri is a specialized programming language designed to compile directly into runnable Apple Shortcuts, making large-scale project maintenance practical and efficient.
Cherri (pronounced cherry) is a Shortcuts programming language that compiles directly to a valid runnable Shortcut. The primary goal is to make it practical to create large Shortcut projects and maintain them long term.
Key Features:
- Desktop-based development: Supports CLI, VSCode extension, and a native macOS app.
- Easy Syntax: Familiar syntax similar to modern programming languages.
- 1-1 Translation: Actions map directly to Shortcut actions for easier debugging.
- Package Manager: Built-in Git-based package manager for automatic updates and inclusion.
- Optimized: Creates small Shortcuts to reduce runtime memory usage.
- Type System: Includes type checking, enums, and type inference.
- Advanced Tools: Supports VCard generation, base64 file embedding, and iCloud link conversion.
Ecosystem:
- VSCode Extension: Professional coding environment.
- Playground: Cross-platform web tool to try Cherri and export signed Shortcuts.
- macOS IDE: Native GUI for writing and building Shortcuts.
- Glyph Search: Easily find icons for your projects.
Installation:
Via Homebrew:
brew tap electrikmilk/cherri
brew install electrikmilk/cherri/cherri
Via Nix:
nix profile install github:electrikmilk/cherri
Why Cherri?
Cherri was created to ensure the longevity of Shortcuts-based programming languages. It provides a stable, macOS-based platform for developers to build complex automation without the limitations of the standard mobile interface. The project started in October 2022 and is named after a code name from the original Workflow app.
Source: Hacker News










