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
Signed-off-by: Hartmut Kaiser <hartmut.kaiser@gmail.com>
@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 <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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants