Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.2 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.2 KB

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