Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 789 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 789 Bytes

gforth-sdl2

SDL2 bindings for GForth.

These bindings were generated using the great "Forth Extension" for SWIG by Gerald Wodni, which I forked to change the type-mappings.

Case-Sensitivity

By default GForth is case-insensitive, this causes name clashes in SDL_events.fth and other files. Without going into the details, this can be avoided with case-sensitive wordlists. One should include the source files as follows:

table >order definitions
require SDL.fth
...
wordlist >order definitions

This causes the SDL binding words to be treated case-sensitively, and puts a regular wordlist (case-insensitive) back in-place.