8000 GitHub - jchyb/scalajs-compiler-servlet: Compile ScalaJS source code to Javascript in runtime. Using Servlet API 3.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jchyb/scalajs-compiler-servlet

 
 

Repository files navigation

Scala JS Compiler

Compiles list of Strings with Scala JS code to a JavaScript. Use this by reading your Scala JS source code and let backend respond with a JavaScript.

Using it Live

If this compiler is used live, use it as a dependency and make sure you find the dependency JAR files with a relative path. Usually it's something like "/WEB-INF/lib/". Check out the "web-demo" branch for a live demo. Make sure all dependencies are either with Scala source code or compiled with Scala JS.

Container

This Scala JS Compiler uses ServletContext to load classes.

Scala Version 2.11

Lot's of compiler classes are deprecated in 2.12 and cannot be updated.

Installation

Install Java 8, Scala 2.11 and Maven 3.3.

Run and Deploy

Use maven to build with $ mvn clean package install

About

Compile ScalaJS source code to Javascript in runtime. Using Servlet API 3.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%
0