This is an old tool available for both Windows and Mac OS X (and I think it can also work on Linux using Wine) that allows for generating Code for CoronaSDK.
Mac Version http://files.oz-apps.com/CoronaCodeGenerator.dmg
Windows Version http://files.oz-apps.com/codeGen/CodeGen.zip
Here are some articles that explain what it does
- http://howto.oz-apps.com/2011/03/code-generator-new-features.html
- http://howto.oz-apps.com/2011/03/automatically-generate-corona-code.html
- http://howto.oz-apps.com/2011/03/codegenerator-for-windows.html