easycoder 250116.3__py2.py3-none-any.whl → 250116.4__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__ = "250116.3"
12
+ __version__ = "250116.4"
easycoder/ec_graphics.py CHANGED
@@ -27,10 +27,9 @@ class Graphics(Handler):
27
27
  elements.append(name)
28
28
  command['args'] = name
29
29
  else: FatalError(self.compiler.program, f'\'{name}\' is not a layout')
30
- elif token[0:2] == 'g_':
30
+ else:
31
31
  command['type'] = token
32
32
  command['args'] = self.utils.getArgs(self)
33
- else: return False
34
33
  if self.nextIs('to'):
35
34
  if self.nextIsSymbol():
36
35
  symbolRecord = self.getSymbolRecord()
easycoder/ec_gutils.py CHANGED
@@ -21,13 +21,13 @@ class GUtils:
21
21
  # Get the default args for a graphic element
22
22
  def getDefaultArgs(self, type):
23
23
  args = {}
24
- if type == 'g_text':
24
+ if type == 'Text':
25
25
  args['text'] = '(empty)'
26
26
  args['expand_x'] = False
27
- elif type == 'g_input':
27
+ elif type == 'Input':
28
28
  args['key'] = None
29
29
  args['size'] = (None, None)
30
- elif type == 'g_button':
30
+ elif type == 'Button':
31
31
  args['button_text'] = '(empty)'
32
32
  return args
33
33
 
@@ -43,10 +43,10 @@ class GUtils:
43
43
 
44
44
  # Create an element
45
45
  def createElement(self, type, args):
46
- if type == 'g_text': return psg.Text(text=args['text'], expand_x=args['expand_x'])
47
- elif type == 'g_input':
46
+ if type == 'Text': return psg.Text(text=args['text'], expand_x=args['expand_x'])
47
+ elif type == 'Input':
48
48
  size = args['size'].split()
49
49
  size = (size[0], size[1])
50
50
  return psg.Input(key=args['key'], size=size)
51
- elif type == 'g_button': return psg.Button(button_text=args['button_text'])
51
+ elif type == 'Button': return psg.Button(button_text=args['button_text'])
52
52
  else: return None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: easycoder
3
- Version: 250116.3
3
+ Version: 250116.4
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>
@@ -1,17 +1,17 @@
1
1
  easycoder/README.md,sha256=PYqOc_SkIGiFbyCNs90y7JqoqWe4aO1xYIW-6bOnFKU,573
2
- easycoder/__init__.py,sha256=cxPTgZu3SQ4VrP87zrYqBbSfyYN9eFpLgxLd57elEQA,262
2
+ easycoder/__init__.py,sha256=7P--K2LPePX1pCo332aXacQgLD3I3uHKC3Qr56PA15o,262
3
3
  easycoder/ec_classes.py,sha256=xnWBNak8oKydkFoxHLlq9wo3lIsB3aMnTDrqbtCfoWo,1512
4
4
  easycoder/ec_compiler.py,sha256=dFJEA_uOhD-HeSiAdBzmmA6q3LHThUVoJpSETanmSHs,4800
5
5
  easycoder/ec_condition.py,sha256=WSbONo4zs2sX1icOVpscZDFSCAEFmTsquoc2RGcLx_k,763
6
6
  easycoder/ec_core.py,sha256=yO7d5OyEFHBDGKSaC1Fhf1uGjzsttAl6VCvR1W5X5YE,86279
7
- easycoder/ec_graphics.py,sha256=zM0MDL0ES6WkcU0XizI6VTWp7NcJODMy1fIn7Rj2U4M,9469
8
- easycoder/ec_gutils.py,sha256=fqh0VKfm2ry5yjHoOE1ufF7uu741lOU7EEwTUEabJ4k,1624
7
+ easycoder/ec_graphics.py,sha256=sjSB7K66oVB4gn8Byjlfs-qPUFoSNVbvK_0plPHI7dI,9423
8
+ easycoder/ec_gutils.py,sha256=9bjRCTBBSCEy6Z3pSkTaZIn_foWKZ79h6pswkLqCti4,1612
9
9
  easycoder/ec_handler.py,sha256=IJvxcrJJSR53d6DS_8H5qPHKhp9y5-GV4WXAjhZxu_o,2250
10
10
  easycoder/ec_program.py,sha256=wU-vWRWAYK2Ie4EFnp8HeSPUL0bxz-j9HLQSNplObcc,9919
11
11
  easycoder/ec_timestamp.py,sha256=_3QFJPzIWZ9Rzk3SQOQJ-gwmvB07pg78k23SPntoZtY,288
12
12
  easycoder/ec_value.py,sha256=zgDJTJhIg3yOvmnnKIfccIizmIhGbtvL_ghLTL1T5fg,2516
13
- easycoder-250116.3.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
14
- easycoder-250116.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
- easycoder-250116.3.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
16
- easycoder-250116.3.dist-info/METADATA,sha256=f2ymQEg79v-tk57RqjgFFiMeWABBcGRLKv2OTR6iXPE,6162
17
- easycoder-250116.3.dist-info/RECORD,,
13
+ easycoder-250116.4.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
14
+ easycoder-250116.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
+ easycoder-250116.4.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
16
+ easycoder-250116.4.dist-info/METADATA,sha256=n5ZHkO3yF44XFEsO-x0DpIQBgmAT4XA0nZW7pG3DZ50,6162
17
+ easycoder-250116.4.dist-info/RECORD,,