solpl 2.6.0__tar.gz → 2.6.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright [yyyy] [name of copyright owner]
189
+ Copyright 2026 stefand-0
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: solpl
3
- Version: 2.6.0
3
+ Version: 2.6.6
4
4
  Summary: A lightweight, multi-threaded interpreter for the Sol programming language
5
5
  Author-email: stefand-0 <stefand-0@users.noreply.github.com>
6
6
  License-Expression: Apache-2.0
@@ -14,10 +14,10 @@ class SolInterpreter:
14
14
  self.variables = {}
15
15
  self.thread_local = threading.local()
16
16
  self.functions = {}
17
- self.struct_blueprints = {}
17
+ self.struct_blueprints = {}
18
18
  self.lines = []
19
19
  self.threads = []
20
- self._server_started = False
20
+ self._server_started = False
21
21
 
22
22
  @property
23
23
  def scope_stack(self):
@@ -141,7 +141,6 @@ class SolInterpreter:
141
141
  for scope in reversed(self.scope_stack):
142
142
  if val in scope: return scope[val]
143
143
 
144
- # FIX: Only try to parse as number if it looks like one
145
144
  if val.replace('.', '', 1).isdigit() or (val.startswith('-') and val[1:].replace('.', '', 1).isdigit()):
146
145
  return float(val) if '.' in val else int(val)
147
146
 
@@ -384,3 +383,4 @@ def main():
384
383
 
385
384
  if __name__ == "__main__":
386
385
  main()
386
+
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "solpl"
7
- version = "2.6.0"
7
+ version = "2.6.6"
8
8
  authors = [
9
9
  { name = "stefand-0", email = "stefand-0@users.noreply.github.com" }
10
10
  ]
@@ -22,4 +22,4 @@ solpl = "interpreter.sol:main"
22
22
 
23
23
  [tool.setuptools.packages]
24
24
  find = { include = ["interpreter"] }
25
-
25
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: solpl
3
- Version: 2.6.0
3
+ Version: 2.6.6
4
4
  Summary: A lightweight, multi-threaded interpreter for the Sol programming language
5
5
  Author-email: stefand-0 <stefand-0@users.noreply.github.com>
6
6
  License-Expression: Apache-2.0
File without changes
File without changes
File without changes