dshellInterpreter 0.2.13.18__py3-none-any.whl → 0.2.13.20__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 dshellInterpreter might be problematic. Click here for more details.
- Dshell/_DshellParser/dshell_parser.py +2 -2
- {dshellinterpreter-0.2.13.18.dist-info → dshellinterpreter-0.2.13.20.dist-info}/METADATA +1 -1
- {dshellinterpreter-0.2.13.18.dist-info → dshellinterpreter-0.2.13.20.dist-info}/RECORD +6 -6
- {dshellinterpreter-0.2.13.18.dist-info → dshellinterpreter-0.2.13.20.dist-info}/WHEEL +0 -0
- {dshellinterpreter-0.2.13.18.dist-info → dshellinterpreter-0.2.13.20.dist-info}/licenses/LICENSE +0 -0
- {dshellinterpreter-0.2.13.18.dist-info → dshellinterpreter-0.2.13.20.dist-info}/top_level.txt +0 -0
|
@@ -191,8 +191,8 @@ def parse(token_lines: list[list[Token]], start_node: ASTNode) -> tuple[list[AST
|
|
|
191
191
|
elif first_token_line.value in ('length', 'len'):
|
|
192
192
|
if len(tokens_by_line) != 3:
|
|
193
193
|
raise SyntaxError(f"[LENGTH] Take 2 arguments on line {first_token_line.position} !")
|
|
194
|
-
if
|
|
195
|
-
raise SyntaxError(f"[LENGTH] Take an ident, str or list on line {
|
|
194
|
+
if tokens_by_line[1] not in (DTT.IDENT, DTT.STR, DTT.LIST):
|
|
195
|
+
raise SyntaxError(f"[LENGTH] Take an ident, str or list on line {tokens_by_line[1].position}, not {first_token_line.type} !")
|
|
196
196
|
|
|
197
197
|
var_node = VarNode(tokens_by_line[1], body=[LengthNode(tokens_by_line[2])])
|
|
198
198
|
last_block.body.append(var_node)
|
|
@@ -14,13 +14,13 @@ Dshell/_DshellInterpreteur/__init__.py,sha256=xy5-J-R3YmY99JF3NBHTRRLsComFxpjnCA
|
|
|
14
14
|
Dshell/_DshellInterpreteur/dshell_interpreter.py,sha256=qHJ9WigNurvFvtEpVppNcHTV8hIiAA8AJLT_j0h4q-s,28862
|
|
15
15
|
Dshell/_DshellParser/__init__.py,sha256=ONDfhZMvClqP_6tE8SLjp-cf3pXL-auQYnfYRrHZxC4,56
|
|
16
16
|
Dshell/_DshellParser/ast_nodes.py,sha256=fU6BVe6w78ZhYib7SGR7iAfTqWqS2kvwZ0d4wMxxOHk,18366
|
|
17
|
-
Dshell/_DshellParser/dshell_parser.py,sha256=
|
|
17
|
+
Dshell/_DshellParser/dshell_parser.py,sha256=vQrpt22WDgtX9a8AZ1e4LNunrWjsf3rT5xzjyFQwTAw,22285
|
|
18
18
|
Dshell/_DshellTokenizer/__init__.py,sha256=LIQSRhDx2B9pmPx5ADMwwD0Xr9ybneVLhHH8qrJWw_s,172
|
|
19
19
|
Dshell/_DshellTokenizer/dshell_keywords.py,sha256=euTckA4AsWBfBGMnFFi1YVz8dvXY1HNsQjNWtvARMR8,5878
|
|
20
20
|
Dshell/_DshellTokenizer/dshell_token_type.py,sha256=gYIb2XN2YcgeRgmar_rBDS5CGmwfmxihu8mOW_d6lbE,1533
|
|
21
21
|
Dshell/_DshellTokenizer/dshell_tokenizer.py,sha256=RrJA2XpcFH2vS6SnRIn5Own_uL5orIDvpq74t8xD3og,7350
|
|
22
|
-
dshellinterpreter-0.2.13.
|
|
23
|
-
dshellinterpreter-0.2.13.
|
|
24
|
-
dshellinterpreter-0.2.13.
|
|
25
|
-
dshellinterpreter-0.2.13.
|
|
26
|
-
dshellinterpreter-0.2.13.
|
|
22
|
+
dshellinterpreter-0.2.13.20.dist-info/licenses/LICENSE,sha256=lNgcw1_xb7QENAQi3uHGymaFtbs0RV-ihiCd7AoLQjA,1082
|
|
23
|
+
dshellinterpreter-0.2.13.20.dist-info/METADATA,sha256=brzVZa04B41ngYrHhSK_cJ8_Z8KademVWMDHmIfTPiQ,1152
|
|
24
|
+
dshellinterpreter-0.2.13.20.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
25
|
+
dshellinterpreter-0.2.13.20.dist-info/top_level.txt,sha256=B4CMhtmchGwPQJLuqUy0GhRG-0cUGxKL4GqEbCiB_vE,7
|
|
26
|
+
dshellinterpreter-0.2.13.20.dist-info/RECORD,,
|
|
File without changes
|
{dshellinterpreter-0.2.13.18.dist-info → dshellinterpreter-0.2.13.20.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{dshellinterpreter-0.2.13.18.dist-info → dshellinterpreter-0.2.13.20.dist-info}/top_level.txt
RENAMED
|
File without changes
|