计算机科学 > 程序设计语言
[提交于 2023年10月20日]
标题:A R4RS Compliant REPL in 7 KB
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Léonard Oest O'Leary[v1] 2023年10月20日 星期五 15:32:37 UTC