From 723cf75f73e7f988c60acaadc01ea71289e08b73 Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Fri, 15 Mar 2013 12:38:44 -0400 Subject: [PATCH] respacing --- bin/hy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/hy b/bin/hy index bb8226e..8a06387 100755 --- a/bin/hy +++ b/bin/hy @@ -3,6 +3,7 @@ import hy import sys + if len(sys.argv) > 1: from hy.importer import import_file_to_module import_file_to_module("__main__", sys.argv[1]) @@ -18,6 +19,7 @@ from hy.lex.machine import Machine from hy.compiler import hy_compile from hy.core import process + _machine = Machine(Idle, 1, 0) @@ -45,9 +47,11 @@ class HyREPL(code.InteractiveConsole): self.runcode(code) return False + sys.ps1 = "=> " sys.ps2 = "... " + hr = HyREPL() hr.interact("{appname} {version}".format( appname=hy.__appname__,