(An ((Even Better) Lisp) Interpreter (in Python))
Posted on April 16, 2018. Filed under: Uncategorized | Tags: author:norvig, lisp, python |
(An ((Even Better) Lisp) Interpreter (in Python)) In a previous essay I showed how to write a simple Lisp interpreter in 90 lines of Python: lis.py. In this essay I make the implementation, lispy.py, three times more complicated, but more complete. Each section handles an addition.
Read Full Post | Make a Comment ( Comments Off on (An ((Even Better) Lisp) Interpreter (in Python)) )The Travelling Salesperson Problem
Posted on April 16, 2016. Filed under: Uncategorized | Tags: algorithm, author:norvig, cs, jupyter-notebook, python |
The Travelling Salesperson Problem
Read Full Post | Make a Comment ( Comments Off on The Travelling Salesperson Problem )When is Cheryl’s Birthday?
Posted on April 16, 2016. Filed under: Uncategorized | Tags: author:norvig, jupyter-notebook, puzzle, python |
When is Cheryl’s Birthday?
Read Full Post | Make a Comment ( Comments Off on When is Cheryl’s Birthday? )(How to Write a (Lisp) Interpreter (in Python))
Posted on April 16, 2016. Filed under: Uncategorized | Tags: author:norvig, lisp, python |
(How to Write a (Lisp) Interpreter (in Python))
Read Full Post | Make a Comment ( Comments Off on (How to Write a (Lisp) Interpreter (in Python)) )A Concrete Introduction to Probability (using Python)
Posted on March 21, 2016. Filed under: Uncategorized | Tags: author:norvig, maths, probability, python |
A Concrete Introduction to Probability In this notebook, we cover the basics of probability theory, and show how to implement the theory in Python 3.
Read Full Post | Make a Comment ( Comments Off on A Concrete Introduction to Probability (using Python) )