Skip to content

Fix for handling positional parameter expansion #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OColkesen
Copy link

Currently, sh_expand fails to expand positional parameters in PaSh because the additional type annotation that PaSh expects is missing from the expansion of the positional parameters.

Positional parameters are heavily used in newer benchmarks specifically, and it enables changing the inputs to the script through the command line directly instead of manually modifying scripts.

When positional parameters are present in the script, PaSh silently reverts to sequential shell execution, making it seem like it fails to accelerate computation when it may actually be able to accelerate. This change would also positively impact the user experience for PaSh overall.

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.

1 participant