ericqweinstein / pylisp

A little LISP written in Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyLisp

A little LISP written in Python, based on work by Anton Davydov and Mary Rose Cook.

Requirements

Installation

$ git clone git@github.com:ericqweinstein/pylisp.git

Usage

$ cd pylisp && python main.py

Examples

I originally created this as a Repl.it tutorial. You can try it out there or run locally (see instructions above).

(define pi 3.14159)
(define square (lambda (x) (* x x)))
(define circle-area (lambda (r) (* pi (square r))))
(circle-area 100)

Contributing

  1. Branch ($ git checkout -b fancy-new-feature)
  2. Commit ($ git commit -m "Fanciness!")
  3. Push ($ git push origin fancy-new-feature)
  4. Ye Olde Pulle Requeste

About

A little LISP written in Python.


Languages

Language:Python 100.0%