dshellInterpreter 0.2.0__tar.gz → 0.2.1__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.
Potentially problematic release.
This version of dshellInterpreter might be problematic. Click here for more details.
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellInterpreteur/dshell_interpreter.py +4 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellTokenizer/dshell_tokenizer.py +1 -1
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/PKG-INFO +1 -1
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/dshellInterpreter.egg-info/PKG-INFO +1 -1
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/setup.py +1 -1
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/DISCORD_COMMANDS/__init__.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/DISCORD_COMMANDS/dshell_channel.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/DISCORD_COMMANDS/dshell_member.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/DISCORD_COMMANDS/dshell_message.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellInterpreteur/__init__.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellParser/__init__.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellParser/ast_nodes.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellParser/dshell_parser.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellTokenizer/__init__.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellTokenizer/dshell_keywords.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellTokenizer/dshell_token_type.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/__init__.py +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/LICENSE +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/README.md +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/dshellInterpreter.egg-info/SOURCES.txt +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/dshellInterpreter.egg-info/dependency_links.txt +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/dshellInterpreter.egg-info/requires.txt +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/dshellInterpreter.egg-info/top_level.txt +0 -0
- {dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/setup.cfg +0 -0
{dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellInterpreteur/dshell_interpreter.py
RENAMED
|
@@ -184,11 +184,15 @@ def get_params(node: ParamNode, interpreter: DshellInterpreteur) -> dict[str, An
|
|
|
184
184
|
if len(gived_variables) > 0:
|
|
185
185
|
for key in englobe_args.keys():
|
|
186
186
|
regrouped_args[key] = ' '.join([str(i) for i in gived_variables])
|
|
187
|
+
del englobe_args[key]
|
|
188
|
+
break
|
|
187
189
|
|
|
188
190
|
for key, englobe_gived_key, englobe_gived_value in zip(englobe_args.keys(), englobe_gived_variables.keys(), englobe_gived_variables.values()):
|
|
189
191
|
if key == englobe_gived_key:
|
|
190
192
|
regrouped_args[key] = englobe_gived_value
|
|
191
193
|
|
|
194
|
+
regrouped_args.update(englobe_args) # add the englobe args to the regrouped args
|
|
195
|
+
|
|
192
196
|
for key, value in env_give_variables.items():
|
|
193
197
|
if key in regrouped_args:
|
|
194
198
|
regrouped_args[key] = value # update the regrouped args with the env variables
|
{dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellTokenizer/dshell_tokenizer.py
RENAMED
|
@@ -15,7 +15,7 @@ MASK_CHARACTER = '§'
|
|
|
15
15
|
|
|
16
16
|
table_regex: dict[DTT, Pattern] = {
|
|
17
17
|
DTT.COMMENT: compile(r"::(.*?)"),
|
|
18
|
-
DTT.ENGLOBE_SEPARATOR: compile(rf"--\*\w+\s*(
|
|
18
|
+
DTT.ENGLOBE_SEPARATOR: compile(rf"--\*\w+\s*(.*?)\s*(?=--|$)"),
|
|
19
19
|
DTT.STR: compile(r'"(.*?)"', flags=DOTALL),
|
|
20
20
|
DTT.LIST: compile(r"\[(.*?)\]"),
|
|
21
21
|
DTT.CALL_ARGS: compile(r"\((.*?)\)"),
|
|
File without changes
|
{dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/DISCORD_COMMANDS/dshell_channel.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/DISCORD_COMMANDS/dshell_member.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/DISCORD_COMMANDS/dshell_message.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellTokenizer/dshell_keywords.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/Dshell/_DshellTokenizer/dshell_token_type.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/dshellInterpreter.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.2.0 → dshellinterpreter-0.2.1}/dshellInterpreter.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|