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: FastHTML, a new Python-based system for writing web applications https://ift.tt/Jv1f6dBShow HN: FastHTML, a new Python-based system for writing web applicati… Read More
Show HN: A Path-Based Data storage/retrieval web service to prevent crawling https://ift.tt/cWHzDpnShow HN: A Path-Based Data storage/retrieval web service to prevent cr… Read More
Show HN: I made a tool to easily transform and manipulate your JSON data https://ift.tt/my9hZ5gShow HN: I made a tool to easily transform and manipulate your JSON da… Read More
Show HN: Run Llama 3.1 8B in the browser https://ift.tt/6PER93UShow HN: Run Llama 3.1 8B in the browser https://app.wiz.chat July 29,… Read More
Show HN: Heyya v1.0.0 Elixir and Phoenix LiveView Snapshot Testing Library https://ift.tt/5hQdcryShow HN: Heyya v1.0.0 Elixir and Phoenix LiveView Snapshot Testing Lib… Read More
Show HN: ChainFactory – Run Structured LLM Inference with Easy Parallelism https://ift.tt/mJSBAOlShow HN: ChainFactory – Run Structured LLM Inference with Easy Paralle… Read More
Show HN: How I wrote a LaTeX paper without writing any LaTeX https://ift.tt/ntSoJRXShow HN: How I wrote a LaTeX paper without writing any LaTeX Stempad i… Read More
Show HN: Chrome Extension to Open Google Maps Locations in Apple Maps https://ift.tt/Khl6TiZShow HN: Chrome Extension to Open Google Maps Locations in Apple Maps … Read More
0 Comments: