From 9f00a3d2a0cbcf625162612c430a40b2951cbd85 Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Sat, 21 Mar 2026 00:54:07 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20executor/state.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- executor/state.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 executor/state.py 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 = []