aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/backend/sjs/JSDefinitions.scala
Commit message (Collapse)AuthorAgeFilesLines
* Move sjs, make sure that partest compiles everything in dirsFelix Mulder2016-11-221-199/+0
|
* More documentation for some Scala.js-specific methods.Sébastien Doeraene2016-03-161-0/+5
|
* Implement most of the Scala.js IR code generator.Sébastien Doeraene2016-03-101-0/+19
| | | | | | | | Notable things that are missing at this point: * Pattern matching * Try * Most of the JavaScript interop
* Store the JSDefinitions in a custom platform SJSPlatform.Sébastien Doeraene2016-03-011-15/+5
| | | | | | This required the ability to instantiate a different `Platform` depending on settings, which, in turn, required to defer the initialization of `ContextBase.platform`.
* Initial infrastructure and hello world for the Scala.js back-end.Sébastien Doeraene2016-03-011-0/+185
The Scala.js back-end can be enabled with the `-scalajs` command-line option. Currently, it adds one phase to the pipeline, which emits .sjsir files from trees. A sandbox project `sjsSandbox`, in `sandbox/scalajs/`, can be used to easily test Scala.js compilation. One can run the `main()` method of the `hello.world` object with > sjsSandbox/run The back-end only contains the bare mimimum to compile the hello world application in the sandbox. Anything else will blow up (for example, primitive method calls). It is a work-in-progress.