GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — lispy/calculator at main · fluentpython/lispy

Expand file tree

/

calculator

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

calculator

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
calc.py
calc.py
 
 
calc_test.py
calc_test.py
 
 
mypy.ini
mypy.ini
 
 

README.md

Norvig's Lispy Calculator

Peter Norvig describes a small subset of the Scheme language that works as a calculator—before he explains lis.py in (How to Write a (Lisp) Interpreter (in Python)).

The calc.py program is derived from the Python 3.10 version of lis.py, keeping only the code needed for the calculator language.

LR
São Paulo, June 19, 2021

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.