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.handunistd.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.gzis for Apple Silicon,*-macos-13.tar.gzis for Intel CPU.
Crumb Language Basics
See https://github.com/liam-ilan/crumb#basics.
Crumb Docs
- See https://github.com/liam-ilan/crumb#standard-library for more info on the standard libary.
- See https://github.com/liam-ilan/crumb#syntax for a syntax reference.