def J(text, stack=S, dictionary=D):
- print stack_to_string(run(text, stack, dictionary)[0])
+ print stack_to_string(run(text, stack, dictionary)[0])
def V(text, stack=S, dictionary=D):
- tp = TracePrinter()
- try:
- run(text, stack, dictionary, tp.viewer)
- except:
- exc = format_exc()
- tp.print_()
- print '-' * 73
- print exc
- else:
- tp.print_()
+ tp = TracePrinter()
+ try:
+ run(text, stack, dictionary, tp.viewer)
+ except:
+ exc = format_exc()
+ tp.print_()
+ print '-' * 73
+ print exc
+ else:
+ tp.print_()
define = lambda text: DefinitionWrapper.add_def(text, D)