Java library that converts coffeescript to javascript or compiled java executable?

大兔子大兔子 提交于 2020-01-03 16:39:46

问题


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.



来源:https://stackoverflow.com/questions/6976752/java-library-that-converts-coffeescript-to-javascript-or-compiled-java-executabl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!