Skip to content

ligong/sscheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Scheme

Scheme is known as "Maxwell's Equations of Software"
I always want to understand how it works.
With the belief that the best way of understanding is writing,
I use C++ to write an interpreter for a simplified Scheme version.

Currently, following special operators are supported:

if,cond,define,lambda,set!,set-car!,set-cdr!,cons,cdr,car,
list,eq?,string?,string=?,number?,atom?,pair?,not,and,or,
+,-,*,/,<,<=,>,>=,display,newline

A stop and copy garbage collector is implemented.

It is really fun to write an interpreter for the great language.

About

A simplified scheme implementation

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors