Call for Dicussion: JEP: Java Expression Trees API
Paul Sandoz
paul.sandoz at oracle.com
Mon Apr 22 18:25:32 UTC 2024
Hi,
Yes, very similar goals expressed differently e.g., the modeling of Java code (Babylon's code model is more MLIR-like rather than C# expression tree-like). Please see the articles linked to from the Babylon project page. One of the goals is to enable developers to write libraries such as FluentJPA and FluentMongo. If you are willing to experiment it would be very interesting to see if Babylon’s code reflection can easily support those libraries you have written.
Paul.
> On Apr 21, 2024, at 7:11 PM, liangchenblue at gmail.com wrote:
>
> Hi Konstantin,
> What you propose has a large overlap with Project Babylon (https://openjdk.org/projects/babylon/), which accomplishes "code reflection" from the Java compiler. The project itself also ships a code model that's suitable for representing ASTs from different programming languages, including ones from Java bytecode. Then your proposal would be much simpler - to generate an expression tree from class files.
>
> Since the discuss list isn't really for development questions, I am replying to babylon-dev mailing list instead and we will sail from there.
>
> Regards
>
More information about the babylon-dev
mailing list