Skip to content

Conversation

@hkaiser
Copy link
Member

@hkaiser hkaiser commented Aug 3, 2025

No description provided.

hkaiser and others added 19 commits September 2, 2023 10:59
Adding overloads taking a source_location to all APIs that spawn new HPX threads
rollingback codegen modification on
@hkaiser hkaiser force-pushed the structured_bindings branch from 46010e1 to 2d028f7 Compare August 3, 2025 18:04
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 <[email protected]>

* Fix symbol lifetime being incorrect leading to incorrect assignments

Added additional tests to check the same

Signed-off-by: Shreyas Atre <[email protected]>

* Locales (#6)

* Add support for writeln function

- Also fix string literals being injected into last function call

Signed-off-by: Shreyas Atre <[email protected]>

* Add numLocale support

Signed-off-by: Shreyas Atre <[email protected]>

* Complete adding here.id

Signed-off-by: Shreyas Atre <[email protected]>

* Complete numLocales and Locales array of type locale

Signed-off-by: Shreyas Atre <[email protected]>

* 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 <[email protected]>

* Cleanup: remove informal debug helpers

Signed-off-by: Shreyas Atre <[email protected]>

* Remove unused headers,functions for debugging purposes

Signed-off-by: Shreyas Atre <[email protected]>

* Remove unnecessary changes

Signed-off-by: Shreyas Atre <[email protected]>

* Fix forLoopExpression over locales

Signed-off-by: Shreyas Atre <[email protected]>

* Interpret any DOT method as a function call

Signed-off-by: Shreyas Atre <[email protected]>

* Complete On functionality

Signed-off-by: Shreyas Atre <[email protected]>

* Add a bit broken support to on

Signed-off-by: Shreyas Atre <[email protected]>

* Seems to work now

- On expression tracks the variables down up

Signed-off-by: Shreyas Atre <[email protected]>

* Modify test expected output

Signed-off-by: Shreyas Atre <[email protected]>

* Add zipped iterator for forall and fix multiple statement inside On

Signed-off-by: Shreyas Atre <[email protected]>

* Add support for chapel zip and in-loop tuple variables

Add forall support for zip unpacked

Signed-off-by: Shreyas Atre <[email protected]>

* Fix the codegen for On

- The correct condition for appending On variables is
symbolTableRef->id >= varsym->scopeId

Signed-off-by: Shreyas Atre <[email protected]>

* Fix everything for On and its scoping

Signed-off-by: Shreyas Atre <[email protected]>

* Fix generation of left << and right >> ops

Also fix some stray function assignments

Signed-off-by: Shreyas Atre <[email protected]>

* 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 <[email protected]>

* Prevent inlinecxx from being added to On arguments

Signed-off-by: Shreyas Atre <[email protected]>

* Add a debug console output

Signed-off-by: Shreyas Atre <[email protected]>

* Set FMT_INSTAL even for header only

Signed-off-by: Shreyas Atre <[email protected]>

* Minimal contributing guide

Signed-off-by: Shreyas Atre <[email protected]>

---------

Signed-off-by: Shreyas Atre <[email protected]>

---------

Signed-off-by: Shreyas Atre <[email protected]>
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.

3 participants