Builing a REPL: the Loop part
A REPL doing nothing
The Loop part of REPL uses a lambda
Print uses pprint
Source code is tokenized
Parser in a separate file
The parser creates an ATS, which is printed as result
pep8 for defunct.py; evaluator in a separate file
Evaluator can detect lists, literals and symbols
Evaluator receive an Environment, with one built-in command
Evaluator can retrieve symbols from the global environment
It is able to calculate nested expressions containing sums like (+ 10 (+ 1 2)) using a global env
LIST can define lambda