[code-reflection] RFR: Model String Template [v2]

Paul Sandoz psandoz at openjdk.org
Tue Feb 27 17:02:11 UTC 2024


On Mon, 26 Feb 2024 22:48:14 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

>> Model String Template
>
> Mourad Abbay has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
> 
>  - Merge branch 'code-reflection' into string-template
>  - model String Template

That's a good start, but i would prefer something that models the template expression at a higher-level and captures the structure, in effect more closely aligned with `JCStringTemplate`. The expressions can be bodies of the template operation, and the processor and fragments the operands, similar to what Maurizio described. Then it can be lowered into core operations.

-------------

PR Comment: https://git.openjdk.org/babylon/pull/30#issuecomment-1967130899


More information about the babylon-dev mailing list