Skip to content

A Scheme Interpreter written in Rust based on Peter Norvig's lispy (http://norvig.com/lispy.html)

Notifications You must be signed in to change notification settings

siutin/scheme-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scheme-rs

A Scheme Interpreter written in Rust based on Peter Norvig's lispy (http://norvig.com/lispy.html)

Quick Start

Try REPL:

> cargo run --release --bin cli

Welcome to scheme-rs
scheme=> (+ 1 2 (* 3 4 5) 6 7 (/ 8 9 10))
Number(76.08888888888889)
scheme=> 

Run scheme code from a file using the interpreter:

# using cargo
> cargo run --release --bin scheme -- ./examples/demo_01.scm

# or executing from the build
> scheme ./examples/demo_01.scm

Building


cargo build --release --bin scheme       # interpreter

cargo build --release --bin cli          # interactive shell

License

FOSSA Status

About

A Scheme Interpreter written in Rust based on Peter Norvig's lispy (http://norvig.com/lispy.html)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages