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
andunistd.h
. To use Crumb on windows, either use WSL, or use a Linux container.
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
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.
See https://github.com/liam-ilan/crumb#basics.
- 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.