Skip to content

carbon-hvze/lopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lopy (Lisp on Python)

Description

Lopy is an MIT Scheme interpreter which creation was inspired by SICP book.

How to use it?

Currenly, two modes are supported. REPL:

python3 lopy

And source from file mode:

python3 lopy -f example.rkt
python3 lopy --file example.rkt

TODO

  1. Parser should return some kind of special object instead of application if the following cases (marked with []):
    • (define [(f a)] (+ 1 2))
    • (lambda [(a b)] (* a b))
    • (cond [((= 1 1) 1)] [(else 2)])
  2. Addition of new syntactic forms/builtin procedures from arbitrary file (without editing files in lopy/expressions/ dir)

About

Lisp on Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published