Raylib::Bindings

Raylib bindings for raku, using grammar to parse raylib.h and auto generate the bindings

raylib-raku

image examples/camelia-rotating.gif not found

image examples/3dcamera-example.png not found

Autogenerated raylib-raku bindings, powered by raku grammar and actions.

Prerequisite:

install raylib https://github.com/raysan5/raylib

Generating bindings from raylib.h

git clone [email protected]:vushu/raylib-raku.git
cd raylib-raku
wget https://raw.githubusercontent.com/raysan5/raylib/master/src/raylib.h -P generator
raku generator/generate-bindings.raku

Test

raku examples/window.raku
raku examples/rotating-butterfly.raku
raku examples/3d-camera.raku

Install from repo

git clone [email protected]:vushu/raylib-raku.git
cd raylib-raku 
zef install .
raku examples/rotating-butterfly.raku

Missing:

  • raylib callbacks are yet to be implemented.

  • raylib predefined colors.

  • support for other platforms other than linux.

help is appreciated!

Raylib::Bindings v0.0.1

Raylib bindings for raku, using grammar to parse raylib.h and auto generate the bindings

Authors

  • Dan Vu (vushu)

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Raylib::Bindings

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.