nsailor / rscheme

A very incomplete lisp interpreter written in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rscheme

A simple Scheme interpreter written in Rust.

Why?

Why not? In all seriousness, this project is not destined to be a commercial intepreter. Instead it aims to be a simple and modifiable piece of software to assist the teaching of compiler/interpreter engineering.

How can I try it?

Just clone the sources and type cargo run inside the repository folder. You can load source files by passing them as arguments to the interpreter.

Features

  • Basic arithmetic operations.
  • Variables.
  • Lambda expressions.
  • Recursion.
  • Scheme function declaration syntax.
  • REPL prompt.
  • display procedure.
  • Lists.
  • String manipulation procedures.
  • Foreign function calls.

About

A very incomplete lisp interpreter written in Rust.


Languages

Language:Rust 99.3%Language:Scheme 0.7%