Goeteia 是一个自托管的 Scheme 到 WebAssembly 编译器,并附带一套完整的纯 Scheme 编写的 Web、图形和游戏开发工具包,利用 WebAssembly GC 和尾调用优化。

Stars

58

7 天增长

暂无数据

Fork 数

4

开放 Issue

0

开源协议

MIT

最近更新

2026-07-21

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它是少数几个针对 Wasm GC 的自托管编译器之一,实现了完整的 R6RS Scheme(含卫生宏、call/cc、数值塔),并提供了丰富的库:DOM 操作、响应式 UI、WebGL/WebGPU 渲染、着色器 S 表达式合成、后处理特效、碰撞检测、压缩纹理解码等,全部用 Scheme 编写。

适合谁使用

  • 寻求现代 Web/GPU 目标的 Scheme 程序员
  • 希望用 Scheme 编写低开销 WebGL/WebGPU 的游戏开发者
  • 对响应式 UI 和直接 DOM 操作感兴趣的 Web 开发者
  • 研究自托管编译器和 Wasm 后端的编译器工程师

典型使用场景

  • 构建带有细粒度信号和 DOM 模板的响应式单页应用
  • 创建使用 GPU 驱动渲染管线的 3D 模拟或游戏(粒子、阴影、泛光)
  • 使用 S 表达式着色器和命令缓冲区架构开发图形演示和特效
  • 将 Scheme 驱动的组件嵌入现有的 React 应用中

项目优势

  • 自托管且字节级可重现构建
  • 完全运行在 Wasm GC 上,无宿主对象表示,具有良好的可移植性
  • 全面的图形栈,支持 WebGL/WebGPU 后端、S 表达式着色器(GLSL、WGSL)和后处理效果
  • 包含纯 Scheme 编写的 Basis Universal、UASTC、Zstandard 和网格压缩解码器

使用前须知

  • 需要支持 Wasm GC 和尾调用优化的引擎(Node 22+、最新 Chrome/Firefox/Safari、wasmtime)
  • 生态系统和社区相对较小,远不及主流 Web 框架
  • 学习曲线较陡:需要掌握 Scheme 和庞大的自定义库 API

README 快速开始

Usage

项目描述

A self-hosting Scheme to WebAssembly Compiler

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

infrost
infrost GitHub avatar

RaptorQR

RaptorQR enables high-throughput offline file and text transfer between devices using animated QR codes, processed entirely locally in the browser or terminal without any server, Bluetooth, or cable.

TypeScript
137
fayazara
fayazara GitHub avatar

pdfstudio

pdfstudio is a client-side PDF toolkit that runs in the browser, Node.js, or Cloudflare Workers, powered by qpdf compiled to WebAssembly, offering a comprehensive set of PDF manipulation operations without any data leaving the device.

TypeScript
91
AngelOnFira
AngelOnFira GitHub avatar

weblings

Weblings is a Rust compiler toolchain compiled to WebAssembly that lets you compile and execute Rust code entirely in your browser, with a web UI featuring a playground and Rustlings exercises.

Rust
84