Evaluate Scala code online
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
readme
src
.travis.yml
README.md
build.sbt

README.md

Scalave

Build Status Coverage Status

Demo

Try the demo

Usage

To embed Scalave on your site, add the following snippet:

<script src="//scalave.herokuapp.com/scalave.js"></script>

To provide default Scala code, simply include it within the script element:

<script rows="8" cols="72" src="//scalave.herokuapp.com/scalave.js">

  object Maths {
    def add(a: Int, b: Int): Int = a + b
  }

  val x = 11
  val y = 31

  Maths.add(x, y)

</script>