Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
/ rslisp Public archive

Slytherlisp (LISP-like) Implementation built with Rust

Notifications You must be signed in to change notification settings

fisherdarling/rslisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlytherLisp D7

This is the extra credit deliverable for Joseph and Fisher.

The deliverable is an experimental implementation of SlytherLisp in the Rust programming language. To run the main.rs executable:

First install the latest nightly rust:

curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly

And then run the code with:

cargo run

The slytherlisp code that is executed is:

(define (add-new x y) 
    (+ x y)) 

(add-new 1 1)

The features are very minimal, but there is a handwritten, lookahead-based parser, and a couple of builtin functions. The current environment supports define, +, and *.

About

Slytherlisp (LISP-like) Implementation built with Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages