Skip to content

reversefold/scheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scheme

A scheme parser and interpeter in python. There are two interpeter modes supported.

The first (eval) is the faster naive mode which recurses quite a bit and hence will hit the python recursion limit fairly quickly.

The second (ceval) uses a trampoline (continuation-passing-style) to continually pass control back up to the top of the stack and hence supports nearly infinite recursion. It's slower than the naive method, however, so the extra recursion comes at a cost.

About

A scheme interpreter, written for fun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published