easycoder 3__py2.py3-none-any.whl → 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 +1 -1
- easycoder/ec_program.py +4 -1
- {easycoder-3.dist-info → easycoder-4.dist-info}/METADATA +1 -1
- {easycoder-3.dist-info → easycoder-4.dist-info}/RECORD +7 -7
- {easycoder-3.dist-info → easycoder-4.dist-info}/LICENSE +0 -0
- {easycoder-3.dist-info → easycoder-4.dist-info}/WHEEL +0 -0
- {easycoder-3.dist-info → easycoder-4.dist-info}/entry_points.txt +0 -0
easycoder/__init__.py
CHANGED
easycoder/ec_program.py
CHANGED
|
@@ -5,10 +5,12 @@ from .ec_classes import Script, Token, FatalError, RuntimeError
|
|
|
5
5
|
from .ec_compiler import Compiler
|
|
6
6
|
from .ec_core import Core
|
|
7
7
|
import importlib
|
|
8
|
+
from importlib.metadata import version
|
|
8
9
|
|
|
9
10
|
class Program:
|
|
10
11
|
|
|
11
12
|
def __init__(self, argv):
|
|
13
|
+
print(f'EasyCoder version {version('easycoder')}')
|
|
12
14
|
scriptName = None
|
|
13
15
|
domains=[Core]
|
|
14
16
|
if len(argv)>0:
|
|
@@ -29,7 +31,7 @@ class Program:
|
|
|
29
31
|
print('No script supplied')
|
|
30
32
|
exit();
|
|
31
33
|
|
|
32
|
-
print('Domains:',domains)
|
|
34
|
+
# print('Domains:',domains)
|
|
33
35
|
f = open(scriptName, 'r')
|
|
34
36
|
source = f.read()
|
|
35
37
|
f.close()
|
|
@@ -301,6 +303,7 @@ class Program:
|
|
|
301
303
|
return -1
|
|
302
304
|
return 0
|
|
303
305
|
|
|
306
|
+
# This is the program launcher
|
|
304
307
|
def Main():
|
|
305
308
|
if (len(sys.argv) > 1):
|
|
306
309
|
Program(sys.argv[1:])
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
easycoder/__init__.py,sha256=
|
|
1
|
+
easycoder/__init__.py,sha256=dOthEUbaFHi3Q78a4SIjHVPY6ggqf38yhio47M-NH9A,255
|
|
2
2
|
easycoder/ec_classes.py,sha256=onBKF6Lj8BZKNuJKacx4HyhOrVLXsoHdzl6RnMf77uM,1413
|
|
3
3
|
easycoder/ec_compiler.py,sha256=ByWwWA4GTzDX1kljgNbBwzfvvUuR34FRQSEpRVtRo5s,4670
|
|
4
4
|
easycoder/ec_condition.py,sha256=s7xKM3ZeOOiSgZv16RnWznAikHZaJRp1UHwrliebpUE,748
|
|
5
5
|
easycoder/ec_core.py,sha256=_PnwCJcxa7vD5MouuM9COTAC9RnGvzSZ9022Tlqzh5M,74591
|
|
6
6
|
easycoder/ec_handler.py,sha256=WDDIz0awD3vSQZ149rgbUWsClt6zXqED8ByXQJ5p1Ds,2200
|
|
7
|
-
easycoder/ec_program.py,sha256=
|
|
7
|
+
easycoder/ec_program.py,sha256=Z_bR-iE5tieWBTMjUrtnQ0iwkXAStvV3vsxTzOFXOzs,7658
|
|
8
8
|
easycoder/ec_timestamp.py,sha256=_3QFJPzIWZ9Rzk3SQOQJ-gwmvB07pg78k23SPntoZtY,288
|
|
9
9
|
easycoder/ec_value.py,sha256=GnHkWSfcB2InGeLj4T8x_H8U9bvbkj9lF4klEUylt38,2371
|
|
10
|
-
easycoder-
|
|
11
|
-
easycoder-
|
|
12
|
-
easycoder-
|
|
13
|
-
easycoder-
|
|
14
|
-
easycoder-
|
|
10
|
+
easycoder-4.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
|
|
11
|
+
easycoder-4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
12
|
+
easycoder-4.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
|
|
13
|
+
easycoder-4.dist-info/METADATA,sha256=0KeuF7X7-u0rp7gvTN3MUFJwk_r9VxUZ5mW8Pp9z6is,2964
|
|
14
|
+
easycoder-4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|