Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do you know a Scala to Javascript DSL/compiler/something?

Tags:

scala

lift

Do you know a Scala to Javascript DSL/compiler/something? I want to program my Javascript code with Scala so i dont have to write so much JS code. Thanks for any help!

like image 468
Alex Avatar asked Apr 04 '11 07:04

Alex


3 Answers

There's also the Scala-GWT project.

like image 127
David Avatar answered Sep 28 '22 08:09

David


You could try out the JsCmds and JqJsCmds (jquery) of Lift to see how far that will support your needs. It works very good in Lift-applications (haven't had to fall back to raw javascript yet).

like image 33
thoredge Avatar answered Sep 28 '22 06:09

thoredge


Well, what you can do decompile your scala class to java source, then compile decompiled java source with GWT.. Well, but you should know that GWT supports only a subset of JDK..

like image 36
Gursel Koca Avatar answered Sep 28 '22 06:09

Gursel Koca