¿Existe una Scala como Clojurescript? también conocida como aplicación integrada Scala de una sola página

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

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?

Actualizar: In theory it looks like one could wrap Scala/Groovy around Java's EsNat. 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.

preguntado el 28 de agosto de 12 a las 14:08

I have only seen this proof-of-concept, but there might be other projects: j2js.com/scala-demo/index.html -

And this project, which seems to be abandoned: github.com/alvaroc1/s2js -

License was made more open(GNU Lesser General Public License v3), previous was (AGPL v 3) -

I'd not bother about ItsNat website, rather, head over here: innowhere.com:8080/itsnat/… -

Adam, I'm the author of ItsNat, I'm not interested on "web beauty" I'm more interested on "engineering beauty", if you don't understand the difference ItsNat is not for you. Web beauty is up you, this is the conceptual background of ItsNat -

4 Respuestas

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

Respondido el 16 de diciembre de 14 a las 16:12

Hay js-scala, but it seems to be quite experimental at the moment.

Respondido el 03 de Septiembre de 12 a las 14:09

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

Respondido el 15 de enero de 13 a las 15:01

BTW, if you are planning to scale out, then be sure to check their "Stateless" modes before starting your designs. - Ravindranath Akila

If you are looking for SPA scala-gwt. Or you are looking for scala-to-javascript compiler?

Respondido 28 ago 12, 14:08

I'm looking for a Scala Clojurescript uno. Seeing how "Clojurescript One" works it would probably need a scala-to-javascript compiler. GWT in my mind is to heavy handed and component/widget based. Clojurescript One is like JQuery in the backend that gets applied to the frontend seemlessly. BTW I didn't -1 you. - adam caballero

Downvoted, cause scala-gwt is not direct analog to clojurescript, despite the ability to convert scala code to javascript - Om nom nom

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.