forked from ct-clmsn/chplx
-
Notifications
You must be signed in to change notification settings - Fork 0
Structured bindings #5
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
hkaiser
wants to merge
20
commits into
main
Choose a base branch
from
structured_bindings
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adding overloads taking a source_location to all APIs that spawn new HPX threads
updated codegenerator
rollback on forLoop
rollingback codegen modification on
spacing issue in validation file
fixed overaggressive replace regex
fixed formatting w/clang-format
Paper patches
Signed-off-by: Hartmut Kaiser <hartmut.kaiser@gmail.com>
46010e1 to
2d028f7
Compare
SAtacker
added a commit
that referenced
this pull request
Sep 14, 2025
* Support array initialization via for-loop expressions (#5) This patch adds support for Chapel’s “array init with for-loop” syntax, e.g.: var arr: [0..2] int = for i in 0..2 do i+1; Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Fix symbol lifetime being incorrect leading to incorrect assignments Added additional tests to check the same Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Locales (#6) * Add support for writeln function - Also fix string literals being injected into last function call Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Add numLocale support Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Complete adding here.id Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Complete numLocales and Locales array of type locale Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Fix index comparison for array kind - Use programatic index instead of predefined index of variant type as it was bound to change Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Cleanup: remove informal debug helpers Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Remove unused headers,functions for debugging purposes Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Remove unnecessary changes Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Fix forLoopExpression over locales Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Interpret any DOT method as a function call Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Complete On functionality Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Add a bit broken support to on Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Seems to work now - On expression tracks the variables down up Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Modify test expected output Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Add zipped iterator for forall and fix multiple statement inside On Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Add support for chapel zip and in-loop tuple variables Add forall support for zip unpacked Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Fix the codegen for On - The correct condition for appending On variables is symbolTableRef->id >= varsym->scopeId Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Fix everything for On and its scoping Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Fix generation of left << and right >> ops Also fix some stray function assignments Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Fix adding variables to On lambda - Correct condition: varsym->scopeId < currentOnExpr->scopeId - Current issue: We cannot pass non-serializable objects like chplx::Array Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Prevent inlinecxx from being added to On arguments Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Add a debug console output Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Set FMT_INSTAL even for header only Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> * Minimal contributing guide Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> --------- Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com> --------- Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.