Skip to content
Commits on Source (3)
......@@ -12,10 +12,16 @@ import utils
# Symbols that we need internally. These need to be created ASAP, i.e. as soon
# as we have the root environment.
# The nil symbol, obviously, and its name.
Nil = None
NilName = "nil"
# The t symbol and its name.
T = None
TName = "t"
# Symbols used for symbol properties.
NamePropSymbol = None
NamePropSymbolName = "sys:name"
ImmutableSymbol = None
......
......@@ -56,12 +56,13 @@ if ovc.traceback:
stdsyms.enableTraceback(True)
reader.loadpath = ovc.loadpath
if __name__ == "__main__":
reader.load("basedefs.l")
for file in ovc.loadfiles:
reader.load(file)
if len(argv) > 0:
# dbg.p(dbg.main, "args are", argv)
for arg in argv:
......