JOPA: Java compiler in C++, Jikes modernized to Java 6 with Claude

https://news.ycombinator.com/rss Hits: 9
Summary

JOPA: Java Object Program Assembler A totally Claude'd effort in modernizing jikes , the historical independent javac implementation in C++. Could be useful for bootstrap purposes. Java 5 & 6 Support This fork adds comprehensive Java 5 (J2SE 5.0) and Java 6 (Java SE 6) language features: Java 5 Features โœ… Generics - Type erasure with generic classes, methods, and bounded type parameters - Type erasure with generic classes, methods, and bounded type parameters โœ… Enhanced For-Loop - For-each loops for arrays and Iterable collections - For-each loops for arrays and Iterable collections โœ… Varargs - Variable-length argument lists with automatic array creation - Variable-length argument lists with automatic array creation โœ… Enums - Enumerated types with synthetic methods (values(), valueOf()) - Enumerated types with synthetic methods (values(), valueOf()) โœ… Autoboxing/Unboxing - Automatic conversions between primitives and wrappers (assignments, method args, return values, arithmetic) - Automatic conversions between primitives and wrappers (assignments, method args, return values, arithmetic) โœ… Static Imports - Import static members (single field, single method, wildcard) - Import static members (single field, single method, wildcard) โœ… Annotations - Marker, single-element, and full annotations Java 6 Features โœ… Class file version 50.0 - Generate Java 6 bytecode with -target 1.6 - Generate Java 6 bytecode with โœ… Debug information - Enhanced debugging with -g flag for parameter names and local variables Building Requirements: CMake 3.20+ and a C++17 compiler iconv and/or ICU (uc) if encoding support stays enabled Use the repo's nix/direnv setup ( direnv exec . <cmd> ) when available With Nix: nix develop direnv exec . cmake -S . -B build -DCMAKE_BUILD_TYPE=Release direnv exec . cmake --build build -j " $( nproc ) " direnv exec . sh -c " cd build && ctest --output-on-failure " direnv exec . cmake --install build --prefix /usr/local Generic CMake: cmake -S . -B build -DCMAKE...

First seen: 2025-11-26 17:31

Last seen: 2025-11-27 02:32