Shell.py
unknown
python
4 years ago
187 B
9
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...