mirror of
https://gitlab.com/niansa/pilang.git
synced 2025-03-06 20:48:26 +01:00
Add environment to main interpreter class
This commit is contained in:
parent
12fc3cc125
commit
5b9671033a
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ class main_class:
|
|||
def __init__(self):
|
||||
self.modules = {}
|
||||
self.commands = {}
|
||||
self.environment = environment
|
||||
environment.evaluate = self.run_command
|
||||
# Load and import modules
|
||||
for module in os.listdir("modules"):
|
||||
|
|
Loading…
Add table
Reference in a new issue