• Stars
    star
    143
  • Rank 257,007 (Top 6 %)
  • Language
    Python
  • Created over 12 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A toy Lisp interpreter and simple eval function

tiddlylisp

Tiddlylisp is a toy Lisp interpreter, written in Python, and intended to accompany the essay Lisp as the Maxwell's equations of software.

The repository contains the following files:

tiddlylisp.py: A simple interpreter for a subset of Lisp. Tiddlylisp is adapted from and closely based on Peter Norvig's lispy interpreter.

sqrt.tl: An example tiddlylisp program, for computing square roots. Adapted from an example in the book The Structure and Interpretation of Computer Programs, by Harold Abelson and Gerald Jay Sussman with Julie Sussmann.

eval.tl: A tiddylisp program defining a function eval which can evaluate any Lisp expression, albeit, for an even smaller subset of Lisp than tiddlylisp. Based on the LISP 1.5 Programmer's Manual and the essay The Roots of Lisp (postscript) by Paul Graham.

See the essay for more details.

Notifications of bugs (and bug fixes) are welcome, but I am not adding new features to tiddlylisp, as its main purpose is as a complement to the essay.

Note added (June 3, 2023): Switched to Python 3.

More Repositories

1

neural-networks-and-deep-learning

Code samples for my book "Neural Networks and Deep Learning"
Python
15,832
star
2

notes-on-writing

Notes on writing
524
star
3

magic_paper

Experiments in an explorable visual medium for mathematics
JavaScript
254
star
4

Pregel

Toy single-machine implementation of the Pregel graph-based framework
Python
112
star
5

ec2_tools

Deprecated. Formerly: scripts to make it easier to set up and manipulate clusters at Amazon EC2
Python
111
star
6

rmnist

Some examples trained on very reduced versions of the MNIST training set
Python
46
star
7

notes-on-neural-networks

Rough working notes on neural networks
TeX
44
star
8

VSM

Toy Python program illustrating the vector space model of documents
Python
40
star
9

mini_qa

Toy question answering program. Aimed at "Who ....?" questions, e.g., "Who invented the C programming language?"
Python
39
star
10

nnadl_site

Web site for book on "Neural Networks and Deep Learning"
HTML
34
star
11

cognitive_tools

Rough in-progress notes on cognitive tools
28
star
12

The-Fermionic-canonical-commutation-relations-and-the-Jordan-Wigner-transform

16
star
13

nnlsv

Paper by @colah and @mnielsen on visualizing the behaviour of large numbers of neural nets
TeX
13
star
14

cognitivemedium

Repo for cognitivemedium.com
JavaScript
12
star
15

expander_graph_notes

Notes on expander graphs
12
star
16

mr_py

Very basic python MapReduce library, still in early development
Python
11
star
17

wiki_tex

Basic python script to convert LaTeX to MediaWiki format.
Python
9
star
18

notes

Rough working notes on a variety of subjects
JavaScript
8
star
19

finding_scenius

8
star
20

ftwe

Notes on the fundamental theorems of welfare economics
8
star
21

Notebook

7
star
22

Information-extraction---first-notes

Rough, undistilled first notes, getting an overview of the field, unlikely to be of use to others
7
star
23

notes-on-collective-intelligence

6
star
24

digital-money

My notes on digital money
6
star
25

experiments

JavaScript
5
star
26

reference_notebook

Emacs Lisp
5
star
27

try_git

4
star
28

Snippets

Snippets of code and recipes that I occasionally find useful
3
star