This repository contains a very incomplete compatibility layer from SLAYER environment for multimedia Scheme applications to the Racket drawing and event processing API.
Some programmers report that SLAYER provides a nice and straigh-forward API for multimedia applications, whereas Racket, while powerful, suffers from a slight over-complication in its design, providing an advanced and complicated Object-Oriented Programming language built on top of Racket specifically for handling graphics.
On the other hand, unlike Racket, SLAYER is difficult to build on many platforms because of various version dependencies.
In particular, SRACKET provides enough capabilities for expressing the solutions to the Draggable Rectangle Challenge, whose purpose is to explore the means that are sufficient for building composable graphical applications.
Don't use it if you don't need to. You most probably won't ever need this. Now leave.
Having some recent and decent version of Racket installed, just clone this repository, and from your terminal run, for example:
$ cd sracket
$ racket 1.rkt
The file "sracket.rkt" contains the whole framework. Check out, for example, the contents of the file "1.rkt" to see how to use the framework (there are some minor differences between SLAYER and SRACKET. Over time, I will try to eliminate them, but I doubt if I ever try to provide any further documentation).
Yeah.