I would like to embed javascript into a java application but given coffeescript cleans up some of the superfluous syntax of javascript it would be great to support execution of coffee script in a java environment. I couldnt find any links and am asking here just incase someone knows of a translator or compiler.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
if I understand you right, JCoffeescript would fit what you're after.
回答2:
The wro4j project (which bundles a lot of HTML/JS/CSS processing steps for a Java toolchain, including Maven plugin) also has CoffeeScript support.