Shell.py

 avatar
unknown
python
3 years ago
187 B
6
Indexable
# put the shell in a sepreate script


import basic

while True:
text = input('basic > ')
result,error = basic.Run('<stdin>', text)

if error: print(error.as_String())
else: print(result)
Editor is loading...