arXiv:2310.13589cs.PL
A R4RS Compliant REPL in 7 KB
Abstract
The Ribbit system is a compact Scheme implementation running on the Ribbit Virtual Machine (RVM) that has been ported to a dozen host languages. It supports a simple Foreign Function Interface (FFI) allowing extensions to the RVM directly from the program's source code. We have extended the system to offer conformance to the R4RS standard while staying as compact as possible. This leads to a R4RS compliant REPL that fits in an 7 KB Linux executable. This paper explains the various issues encountered and our solutions to make, arguably, the smallest R4RS conformant Scheme implementation of all time.
Here is another tiny and highly portable Scheme that I submitted along with this: https://github.com/udem-dlteam/ribbit https://arxiv.org/abs/2310.13589 Ribbit: A portable, compact and extensible Scheme implementation to 25 targets. R4RS compliant.…
so-cal-schemerView on HNParent context