[code-reflection] RFR: Support storing the code that builds the code model [v2]

Paul Sandoz psandoz at openjdk.org
Thu Feb 27 00:24:04 UTC 2025


On Mon, 10 Feb 2025 12:11:51 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Make TEXT the default storage mechanism for code models
>
> Marked as reviewed by mcimadamore (Reviewer).

@mcimadamore Mourad implemented a transformation of the code model that builds a code model that adds local variables for values with more than one use, which makes it easier to generate the AST nodes. Would use of the internal `LetExpr` help avoid such a transformation, if so we can consider that for follow on work.

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

PR Comment: https://git.openjdk.org/babylon/pull/305#issuecomment-2686501336


More information about the babylon-dev mailing list