Andreas Rottmann: Status of Scheme48 hacking
Over the last months, I’ve started several hacks on Scheme48. My interest in Scheme48 was initially sparked by Jivera, who started to bring a Pika-style C API to Scheme48.
The features/projects I’ve been working on:
- The new buildsystem: it is now easily possible to build Scheme48 completely from scratch, bootstrapping it with another Scheme48 installation.
- R5RS-compatible keywords (e.g. #:foo). There seems to be some controversy about the usefulness and “good taste” of keywords, but I need them for my GOOPS-compatible TinyCLOS version.
- Relaxed string escaping, i.e. allow e.g. (display “Hello World!
“). - A scheme48 executable that allows command-line access to the exec language; you can do
scheme48 -cl packages.scm -o mystructure
which is equivalent to typing:,config ,load packages.scm ,open mystructure
at the Scheme48 prompt. - Some initial work on a PLTish FFI. See Foreign Interface for PLT Scheme for how this FFI looks like. The cool thing about it is that you don’t have to delve into C for creating bindings anymore.
- Porting Kali Scheme. This has just started; so far, I’ve been able to get the Kali VM to build on top of Scheme48 1.2, but it is probably far from working.