Skip to content

Refactor command arguments in the Python traces#17

Merged
GlassOfWhiskey merged 2 commits into
masterfrom
refactor-args
May 18, 2026
Merged

Refactor command arguments in the Python traces#17
GlassOfWhiskey merged 2 commits into
masterfrom
refactor-args

Conversation

@LanderOtto
Copy link
Copy Markdown
Contributor

This command changes the retrieval of the arguments in the Python traces. Before this commit, the arguments of the ports (e.g. data produced by a previous step) and the static one (e.g. the option flag of a command) were two different lists and merged together in the _exec function. Now, a list is used where each element is a tuple boolean and string. The boolean indicates if the string is the name of a port.

@LanderOtto LanderOtto force-pushed the refactor-args branch 3 times, most recently from bfddb04 to 8a472f6 Compare July 7, 2024 17:33
Comment thread swirlc/compiler/default.py Outdated
…it, the arguments from the port and the static arguments were two different list and merged together. Now, a list is used where each element is a tuple `bool` and `str`. The boolean indicates if the str is the name of a port.
# Conflicts:
#	swirlc/compiler/default.py
Copy link
Copy Markdown
Member

@GlassOfWhiskey GlassOfWhiskey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GlassOfWhiskey GlassOfWhiskey merged commit 61d9396 into master May 18, 2026
10 checks passed
@GlassOfWhiskey GlassOfWhiskey deleted the refactor-args branch May 18, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants