trivial REPL

This commit is contained in:
Loic Nageleisen 2014-01-24 21:36:05 +01:00
parent 992f774baa
commit 5819dba46a

8
repl.py Normal file
View file

@ -0,0 +1,8 @@
import wasp.parser as parser
line = raw_input(">> ")
while line != "":
tree = parser.parse(line)
print "^^", tree
#tree.eval()
line = raw_input(">> ")