small & readable scheme interpreter in C++?

后端 未结 5 2057
南方客
南方客 2021-02-01 19:06

Anyone know of a good / small scheme interpreter in C++? Perferably something < 2000 LOC, with a simple garbage collectro (either compacting or mark & sweep), no need to

5条回答
  •  执念已碎
    2021-02-01 19:11

    I have started a project at my university to do exactly this. Shaka Scheme is an attempt to implement R7RS in C++.

    We are working towards implementing macros and continuations as of the time of writing, and will focus on an implementation model after R. Kent Dybvig's dissertation's heap-allocated model for evaluation.

    In the future, we hope to have a fully-comprehensible documentation database through the GitHub wiki of our design and methodology to make implementation of Scheme readable to novices.

提交回复
热议问题