Factor out a portable Scheme layer which could target different implementations
#446 创建于 2026年7月21日
仓库指标
- 星标
- (14 个星标)
- PR 合并指标
- (平均合并 1小时 45分钟) (30 天内合并 219 个 PR)
描述
While Chez gives us a good overall target for Clojure, it makes a few architectural assumptions, like being able to write instructions to a section of memory and then execute that code, that do not hold for targets like WASM which considers such behavior a security concern. It would be useful to decouple the host layer from Chez and make it easy to port to different Scheme runtimes which would give us access to things like interactive development for WASM via Guile. Since host code is already separate from the core language implementation, there's some more refactoring that would be needed, but it wouldn't be difficult to isolate Chez specific bits, and build a general Scheme layer on top.