Next: , Previous: , Up: Top   [Contents][Index]


1 Introduction

Guile-SDL2 provides both low-level and high-level Guile Scheme bindings to the Simple DirectMedia Layer version 2.0 C library. The bindings are written in pure Scheme by using Guile’s foreign function interface. In addition to the SDL2 core library, bindings are also provided for the SDL2_image, SDL2_mixer, and SDL2_ttf add-on libraries.

While Guile-SDL2 does provide direct, low-level bindings for the SDL2 C API, its main feature is exposing high-level interfaces that Scheme programmers will find comfortable to use, hiding away the ugly, foreign C details. This manual will cover only the high-level API. see API Reference

As of this writing, the bindings are useful, but incomplete. If you find an SDL2 feature that you cannot use with Guile-SDL2, let us know and maybe send a patch! see Contributing