Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Scala like Clojurescript? aka Integrated Scala Single Page Application

So ClojureScript One is rather incredible looking! You can make updates with your REPL in real time to a SPA.

So something like this is rather impossible in Java where you don't have a REPL but it seems very possible in something like Groovy or Scala. I'm sort of a Lisp bigot (I really shouldn't be but oh well) and wondering if there is a Scala or Groovy like Clojurescript?

Update: In theory it looks like one could wrap Scala/Groovy around Java's ItsNat. However I have some doubts about that project given it hasn't been updated since 2011 (also they have they ugliest website.. its like they tried to make it ugly). The license is also rather restrictive.

like image 207
Adam Gent Avatar asked Aug 28 '12 13:08

Adam Gent


3 Answers

Try http://www.scala-js.org/ a A Scala to JavaScript compiler

like image 87
user619882 Avatar answered Nov 01 '22 23:11

user619882


There's js-scala, but it seems to be quite experimental at the moment.

like image 34
Blake Pettersson Avatar answered Nov 01 '22 21:11

Blake Pettersson


ItsNat has come to quit a stable stage, this is why it is inactive. Of course new features and more browser support and testing can be leveraged, but so far, we've had a great experience with ItsNat. We've been with ItsNat since version 0.7 and had very (2) issues, that too, quite rare ones.

If you'd like working examples, I'd be glad to show you as our project is open sourced :-)

Works well with both SEO and SPI.

Demo

like image 2
Ravindranath Akila Avatar answered Nov 01 '22 22:11

Ravindranath Akila