respacing
This commit is contained in:
parent
9a0833a35a
commit
723cf75f73
4
bin/hy
4
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__,
|
||||
|
Loading…
x
Reference in New Issue
Block a user