lms-sandbox
lms-sandbox copied to clipboard
Graduated to js.scala: JavaScript as an embedded DSL in Scala
Results
4
lms-sandbox issues
Sort by
recently updated
recently updated
newest added
This example returns "1abc" instead of 2, because the private fields x overwrite each other dynamically, instead of being resolved statically. @gkossakowski suggests just renaming private fields to avoid conflict....
Hopefully the same hook could be reused to support build.sbt files as for supporting Foo.scalajs
In particular having an incremental mode which compiles js or scala or both would rock.
So it'd have default imports of some package objects/Predef type constructs. e.g. // Foo.scalajs package foo def blah(x: Int) = x \* 2 class Whatnot(val y: String) { def thingy...