Re: automatic translation? .. have a look at TXL
There are a whole bunch of grammars out there in TXL for various languages. You might find one that can be panel beaten into something you can use. TXL is the best tool I have found for transforming one language source code into another. Plus TXL can do lots of other tricks. But not as many as CLIPS.