Proteus Cross Compiler system allows the generation and compilation of Java Code from llvm-gcc compatible languages (C/C++/fortran). The generated code will execute at up to 50% of native code.
Formula Compiler Source for writing your own compiler. Arithmetic expressions & functions; IF-THEN; AND OR ..; EQ GT ..; user functions like threshold, flipflop; others are easy to be implemented