diff --git a/executor/state.py b/executor/state.py new file mode 100644 index 0000000..bc1b349 --- /dev/null +++ b/executor/state.py @@ -0,0 +1,11 @@ +__author__ = 'RemiZOffAlex' +__email__ = 'remizoffalex@mail.ru' + + +class State: + def __init__(self): + self.variables = {} + self.environments = {} + self.scopes = {'root': {}} + self.current = 'root' + self.closures = []