Hi,
Does anyone know of a Java preprocessor library? I'm searching for something like m4. I could just invoke m4 from Java and capture the result, but I don't want to depend on m4 being installed in the systems where the application runs. A standalone Java API that is similar to m4 would be great.
Thanks.
edit: I think I didn't explain very clearly what I am doing. The thing is that I am writing a Java application that processes source files written in another (custom) language. Basically it's a translator between two languages, and the source language supports macros.