Lean4 bindings for raylib.
If you want to contribute to Raylean, you can find us on Discord
The project comes with a demo executable target. To build and run this use the provided justfile.
For now only macOS is supported.
Raylean has several dependencies:
- Lean, which we use for development of games.
- Just, as a replacement for Make.
- XCode for macOS SDK frameworks like OpenGL.
- Rust for building resvg, which provides SVG support.
- libgmp, required to link lean executables
- libuv, required to link lean executables
You need to install all four to build Raylean. Below follows instructions for each.
Use the official documentation to setup Lean.
Install using Homebrew with:
brew install justThe macOS clang installation and macOS SDK frameworks like OpenGL are required when linking the executable.
Install by running:
xcode-select --installcurl https://sh.rustup.rs -sSf | shOr use the official documentation to setup Rust.
These are required to link lean executables.
Install using Homebrew with:
brew install gmp
brew install libuvTo build the raylib static library and the demo executable, run the following command in the project:
just buildTo run the demo, run the following command in the project:
just runAssets used by the demo application are stored in the resources directory.
| Asset | Attribution |
|---|---|
| walter.png | Liza Schulze |
| Asset.svg | Liza Schulze |