Crumb Template

February 24, 2025 ยท View on GitHub

This repo will help you start your own Crumb project and build it as a standalone binary.

The Crumb interpreter is built for POSIX compliant systems, and utilizes ioctl.h and unistd.h. To use Crumb on windows, either use WSL, or use a Linux container.

Getting Started

To get started, create a new repository based off of this template by clicking the green "Use this template" button at the top right corner.

Then clone your repository, and from the root of this repo, run

chmod +x setup.sh && ./setup.sh

This will build the Crumb interpreter and Loaf bundler from source.

Now you're all set!

To run app.crumb,

./crumb app.crumb

To build app as a standalone executable,

./loaf app.crumb app

To run the standalone executable,

./app

Distributing Executables for Release

The Build Release Binaries action will run on release, building standalone executables for Ubuntu and MacOS.

Note: *-macos-15.tar.gz is for Apple Silicon, *-macos-13.tar.gz is for Intel CPU.

Crumb Language Basics

See https://github.com/liam-ilan/crumb#basics.

Crumb Docs

Source Repos