Skip to content

abstractOwl/scheme.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scheme.js

A toy lisp interpreter based on lis.py.

See it in your browser: https://abstractOwl.github.io/scheme.js

Try some of these:

Simple addition:

(+ 1 1)

Conditional:

(if (< 5 10) (+ 2 3) (+ 5 8))

Defining Function:

(begin (define add (lambda (x y) (+ x y))) (add 2 3))

Factorial:

(begin (define factorial (lambda (n) (if (= n 0) 1 (* n (factorial (- n 1)))))) (factorial 10))

About

Toy lisp interpreter based on lis.py

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published