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: HN Pop-Up – Hover on HN Username to See Their Profile https://ift.tt/mxWjANCShow HN: HN Pop-Up – Hover on HN Username to See Their Profile https:/… Read More
Show HN: Neofetch for Git Repositories https://ift.tt/Pdk27aKShow HN: Neofetch for Git Repositories Onefetch is a command-line Git … Read More
Show HN: I made a tool that turns screenshots into dramatically angled photos https://ift.tt/zTNeGq8Show HN: I made a tool that turns screenshots into dramatically angled… Read More
Show HN: I made an extension for browser bookmarks https://ift.tt/r1307MdShow HN: I made an extension for browser bookmarks Hello HN! I have ju… Read More
Show HN: C64 and Plus/4 compared. Justice to a forgotten 8-bit home computer https://ift.tt/oxJAqW4Show HN: C64 and Plus/4 compared. Justice to a forgotten 8-bit home co… Read More
Show HN: A/B test your GPT3 prompts https://ift.tt/SdyXHITShow HN: A/B test your GPT3 prompts https://ift.tt/4qWGc81 February 15… Read More
Show HN: For Product Managers – curated collection of tools https://ift.tt/xHoTKBZShow HN: For Product Managers – curated collection of tools Curated co… Read More
Show HN: My personal website designed in the style of Windows 95 https://ift.tt/QEUq92KShow HN: My personal website designed in the style of Windows 95 link:… Read More
0 Comments: