Giter VIP home page Giter VIP logo

raylib-guile's Introduction

raylib-guile

raylib-guile is birthdayware written for my good friend Jacob Reckhard's birthday ๐Ÿฅณ. it provides direct GNU guile bindings for raylib. if you're not Jacob, don't worry: you can still use it under the terms of the zlib license, the same one used by raylib.

building and installing

prerequisites:

  • guile 3.0 or later
  • raylib built with shared library support
make
sudo make install

note: make will download the master-brach version of raylib's api description. if this causes errors you should change the VERSION file to the version of raylib you have installed. right now all tagged versions xml files are out of date, and you might need to generate them yourself.

generated API

all supported functions are exported as is in the (raylib) library and take equivalant arguments. pointer/value arguments are equivalent for structs.

the following accessors are generated for every struct type:

(make-{struct} field1 field2 ...)
({struct}-field obj)
({struct}-set-field! obj value)

examples

you can see some examples in the examples/ directory. they are directly translated from raylib's examples, and as such may not represent very elegant scheme programming.

to Jacob, my best programming buddy

happy birthday! one day at a party you were complaining about how there were raylib bindings for like every language except guile, and you joked that if i was looking for something to do, i should write some. so i did. along with the rights granted to you by zlib license, i hearby grant you a special birthday boy license, with the following terms:

  1. if you want, i will add you as a contributor to this repo, and you may have complete creative control over this project.
  2. you may relicense this program under any license, even weird ones you made up.
  3. one year of platinum-executive-enterprise support.

raylib-guile's People

Contributors

petelliott avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.