C compiler written in java

I want to integrate the c language compiler into a java application to compile c sources without creating a file (e.g. Java Compiler Api). Is there a c compiler fully written in java?

+7
source share
2 answers

You can check this link in Google C code written in Java

and say that you congratulated the developer :) -it is not me: p -

Another option: JCPP

+5
source

ANTRL has a grammar for C. The problem of generating build code for a specific platform is not resolved for you, but you can go through AST and emit instructions if you know who they should be.

+2
source

All Articles