import Hedge

while True:
	text = input('Hedge > ')
	if text.strip() == "":
		continue
	result, error = Hedge.run('<stdin>', text)

	if (error):
		print(error.asString())
	elif result:
		if len(result.elements) == 1:
			print(repr(result.elements[0]))
		else:
			print(repr(result))
[((110, 136), 'Hedge.run', 'Hedge.run', (['"""<stdin>"""', 'text'], {}), "('<stdin>', text)\n", (119, 136), False, 'import Hedge\n')]