Skip to content

phronmophobic/grease

Repository files navigation

Grease

An example of building a clojure library for iOS with graalvm native-image.

Built with membrane.

Update - May 2026

Grease is back!

Check the #graalvm-mobile channel on the Clojurians Slack (join here) for the lastest news.

Game of Life Example

See examples/gol

game-of-life

Media

Watch the project in action on the Apropos Clojure Podcast.
Show Notes

Building basic test project

  1. Download and update all submodules
git submodule update --init --recursive
  1. Download dependencies
./scripts/download-deps
  1. Install autoconf
brew install autoconf
  1. Build static JDK and prep libffi
./scripts/setup
  1. Build macOS native iame
./scripts/compile-shared
  1. Build app
./scripts/build-shared

Example projects

Found in examples/ directory.

examples/ants - Classic ant sim
examples/gol - Game of Life
examples/objc - Objective-c interop
t3tr0s-bare - Tetris
snake - Snake

License

Copyright © 2026 Adrian

Distributed under the GPLv2 License. See LICENSE.

About

An example of building a clojure library for iOS with graalvm native-image.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors