Esempio n. 1
0
def start_repl(env):
    input = Input(env)
    while True:
        inp = raw_input(">")
        val = input.add(inp)
        if val != None:
            print Printer.printLisp(val)
    print "foo"
Esempio n. 2
0
 def __repr__(self):
     from LISP import Printer
     return Printer.printLisp(self)