4

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.

3
  • 3
    You use CoffeeScript to compile to JavaScript... Commented Aug 8, 2011 at 0:33
  • I wish to keep everything all java, which is the origin of my request. Commented Aug 8, 2011 at 4:50
  • 2
    You can run the coffescript translator under Rhino and then run the output of that in Rhino. Does that not qualify as an "all java" solution? Commented Aug 8, 2011 at 4:54

2 Answers 2

4

if I understand you right, JCoffeescript would fit what you're after.

Sign up to request clarification or add additional context in comments.

Comments

0

The wro4j project (which bundles a lot of HTML/JS/CSS processing steps for a Java toolchain, including Maven plugin) also has CoffeeScript support.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.