Chinese students recreate LLVM core for Java developers
Since they had problems analysing the LLVM IR (Low Level Virtual Machine Intermediate Representation), a group of Chinese students implemented a Java version of the LLVM compiler infrastructure's C++ core. JLLVM uses ANTLR (Another Tool for Language Recognition) to recognise LLVM IR and generate a parser that stores LLVM elements like functions and types in Java classes.
LLVM was originally developed at the University of Illinois as a modern SSA (static single assignment) compilation solution. More modules and components were added over time, and now LLVM is an overarching project for various compiler strategies that can be used for runtime optimisation and more.
So far, the Java alternative consists of two main components, the JLLVM core and a toolset to test locking security. The code is available for download from Shanghai Jiao Tong University.