easycoder 250503.1__py2.py3-none-any.whl → 250504.1__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of easycoder might be problematic. Click here for more details.

easycoder/__init__.py CHANGED
@@ -9,4 +9,4 @@ from .ec_program import *
9
9
  from .ec_timestamp import *
10
10
  from .ec_value import *
11
11
 
12
- __version__ = "250503.1"
12
+ __version__ = "250504.1"
easycoder/ec_core.py CHANGED
@@ -1056,21 +1056,22 @@ class Core(Handler):
1056
1056
  self.putSymbolValue(stackRecord, stack)
1057
1057
  return self.nextPC()
1058
1058
 
1059
- # Put a value into a variable
1060
1059
  # put {value} into {variable}
1061
1060
  def k_put(self, command):
1062
- command['value'] = self.nextValue()
1063
- if self.nextIs('into'):
1064
- if self.nextIsSymbol():
1065
- symbolRecord = self.getSymbolRecord()
1066
- command['target'] = symbolRecord['name']
1067
- if 'hasValue' in symbolRecord and symbolRecord['hasValue'] == False:
1068
- FatalError(self.compiler, f'Symbol {symbolRecord["name"]} is not a value holder')
1061
+ value = self.nextValue()
1062
+ if value != None:
1063
+ command['value'] = value
1064
+ if self.nextIs('into'):
1065
+ if self.nextIsSymbol():
1066
+ symbolRecord = self.getSymbolRecord()
1067
+ command['target'] = symbolRecord['name']
1068
+ if 'hasValue' in symbolRecord and symbolRecord['hasValue'] == False:
1069
+ FatalError(self.compiler, f'Symbol {symbolRecord["name"]} is not a value holder')
1070
+ else:
1071
+ self.add(command)
1072
+ return True
1069
1073
  else:
1070
- self.add(command)
1071
- return True
1072
- else:
1073
- FatalError(self.compiler, f'Symbol {self.getToken()} is not a variable')
1074
+ FatalError(self.compiler, f'Symbol {self.getToken()} is not a variable')
1074
1075
  return False
1075
1076
 
1076
1077
  def r_put(self, command):
@@ -1,11 +1,12 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: easycoder
3
- Version: 250503.1
3
+ Version: 250504.1
4
4
  Summary: Rapid scripting in English
5
5
  Keywords: compiler,scripting,prototyping,programming,coding,python,low code,hypertalk,computer language,learn to code
6
6
  Author-email: Graham Trott <gtanyware@gmail.com>
7
7
  Description-Content-Type: text/markdown
8
8
  Classifier: License :: OSI Approved :: MIT License
9
+ License-File: LICENSE
9
10
  Requires-Dist: pytz
10
11
  Requires-Dist: pyside6
11
12
  Project-URL: Home, https://github.com/easycoder/easycoder-py
@@ -1,9 +1,9 @@
1
1
  easycoder/README.md,sha256=BVXmYphcTJ6q6RN_9L6HtQukgCnOjSLVIsTM3lk-9aM,587
2
- easycoder/__init__.py,sha256=nOSldJ2q0EIA4NLCRkG8vCCgqAc64CpgzIgBYq9yO78,262
2
+ easycoder/__init__.py,sha256=EGnBVcP5HZKaL9fLqsey2v6VejGMeqhyENBsyHElMgw,262
3
3
  easycoder/ec_classes.py,sha256=xnWBNak8oKydkFoxHLlq9wo3lIsB3aMnTDrqbtCfoWo,1512
4
4
  easycoder/ec_compiler.py,sha256=vNOAKIK2pX_cW4mcxwCe0OR16iqeZqvZQ6JCgQ5MqtU,5062
5
5
  easycoder/ec_condition.py,sha256=YXvSBQKEzKGCcgUGo3Qp8iHolXmm2BpEm0NimSDszIM,785
6
- easycoder/ec_core.py,sha256=hmMHQ5UxJ8JS6gMmcttzmZGGHc6bXR624A5g8VCH3JY,91224
6
+ easycoder/ec_core.py,sha256=4mFDsTS0Cd_Z0li8Oad_EMT783weuSm3S1IlWSoXIMY,91286
7
7
  easycoder/ec_graphics.py,sha256=WXxKMB4GJSmxvk-FVbOTyufiUx4TYIzyDoB1PCAO3JY,16067
8
8
  easycoder/ec_gutils.py,sha256=yqu4RRQ6VdRkC5B2ADBYsXzgNu76dLnekd9aUjdEgPw,6399
9
9
  easycoder/ec_handler.py,sha256=zPDZ_hqdgNnkCd8B5HmSLkqsGgf4aDmqcUBOPHgo47U,2305
@@ -11,8 +11,8 @@ easycoder/ec_program.py,sha256=CxGYl1slYXNOYFxiSMc-BuXL_QztYuBfCXltPCtw1U4,10011
11
11
  easycoder/ec_pyside.py,sha256=6GIZpnmIj9LissJopfqcSvc1i1qbl4h56PQsJXOu9XU,36005
12
12
  easycoder/ec_timestamp.py,sha256=_3QFJPzIWZ9Rzk3SQOQJ-gwmvB07pg78k23SPntoZtY,288
13
13
  easycoder/ec_value.py,sha256=zgDJTJhIg3yOvmnnKIfccIizmIhGbtvL_ghLTL1T5fg,2516
14
- easycoder-250503.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
15
- easycoder-250503.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
- easycoder-250503.1.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
17
- easycoder-250503.1.dist-info/METADATA,sha256=S-ZJU8J3jqERA2fkdZ1SHwRhJ_Xdp-QR1ByCOwStNHU,6803
18
- easycoder-250503.1.dist-info/RECORD,,
14
+ easycoder-250504.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
15
+ easycoder-250504.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
+ easycoder-250504.1.dist-info/WHEEL,sha256=Dyt6SBfaasWElUrURkknVFAZDHSTwxg3PaTza7RSbkY,100
17
+ easycoder-250504.1.dist-info/METADATA,sha256=WFCQMbyGyIaudwFDHkiXLAfz4VtOkx2OBuPAV-NAelo,6825
18
+ easycoder-250504.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: flit 3.10.1
2
+ Generator: flit 3.12.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any