I want to create some simple C code from Java, and I was wondering if there are some libraries that could help me. Sadly my google skills are not too good and my results are way off. ("C libraries for Java", "creating c code in java", etc).
My idea would be something like create C file and use method
createMethod(name, argument, return, code)
instead of having to just create a document and write strings like
return name(argument) {
code
}
Nevertheless, I am little pessimistic and I think that most probably I will just have to create the C code by creating a document, and writing into it the c lines.