Running Scala in the Browser: Cross-Compiling Scala to JavaScript

Free registration required

Executive Summary

This paper presents a cross compiler for Scala to JavaScript which enables one to execute code written in Scala directly in a web browser. Event handling and DOM access according the w3c specification is demonstrated. Results, which are based on an Eliza implementation in Scala, are discussed. This paper describes the steps needed to extend an existing Java to JavaScript cross-compiler to handle Scala as input.

  • Format: PDF
  • Size: 205 KB