Show HN: Standalone Jdk.compiler, Java Compiler Framework and Tree API With this standalone compiler, you can rely on all Java 11 javac features to be available, even when using newer Java versions. Specifically, this allows you to: - compile code even if your Java environment isn't a full JDK (Java JRE, for example!) - target Java 1.7 for compilation without any warnings or restrictions. - use the Compiler Tree API without resorting to --add-opens trickery that may eventually fail in newer Java releases - build a modified compiler with additional features or custom tweaks I made this after finding that the otherwise superb "jsweet" Java-to-JavaScript transpiler failed to build and run with Java 16 or newer. Surprisingly, I couldn't find any prior work other than "proper" standalone compilers like Eclipse's ecj that would properly work with modern Java runtimes. I'm excited to see what can be done now that we have this scaffolding. https://ift.tt/W4SbqeE October 10, 2023 at 10:15PM
Show HN: Standalone Jdk.compiler, Java Compiler Framework and Tree API https://ift.tt/D6zLGra
Related Articles
Show HN: A spreadsheet that follows Ask HN and summarizes the answers https://ift.tt/d3jShZqShow HN: A spreadsheet that follows Ask HN and summarizes the answers … Read More
Show HN: ChatGPT Personal Secretary PoC https://ift.tt/YKACQNTShow HN: ChatGPT Personal Secretary PoC A proof of concept using LangG… Read More
Show HN: Brisk a complete CI system is now Open Source https://ift.tt/Mn2D4xGShow HN: Brisk a complete CI system is now Open Source Brisk is a comp… Read More
Show HN: Awesome CI/CD Attacks https://ift.tt/djAJNHWShow HN: Awesome CI/CD Attacks https://ift.tt/myfSt9o May 28, 2024 at … Read More
Show HN: Get paid to do your own ML research https://ift.tt/ylsvHmRShow HN: Get paid to do your own ML research I'm launching an experime… Read More
Show HN: ThreadPay: WeTransfer for money – a medium for money transfers https://ift.tt/eV8jtZCShow HN: ThreadPay: WeTransfer for money – a medium for money transfer… Read More
Show HN: A New Kind of Chat Room https://ift.tt/uNsmCx6Show HN: A New Kind of Chat Room I’ve developed an application that re… Read More
Show HN: Open-source Tableau alternative but as React component plus DuckDB-WASM https://ift.tt/L5CP3f0Show HN: Open-source Tableau alternative but as React component plus D… Read More
0 Comments: