Java library that converts coffeescript to javascript or compiled java executable?
I would like to 开发者_如何学JAVAembed 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.
if I understand you right, JCoffeescript would fit what you're after.
The wro4j project (which bundles a lot of HTML/JS/CSS processing steps for a Java toolchain, including Maven plugin) also has CoffeeScript support.
精彩评论