Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The Scala Programming Language: Virtualized

This branch is 0 commits ahead and 0 commits behind readme

Octocat-spinner-32 README.md Update README.md December 12, 2013
README.md

Scala-Virtualized

Scala-Virtualized is an experimental branch of the Scala compiler and standard library that contains a few additions to provide even better support for embedded DSLs (we call that language virtualization).

The key features are as follows:

  • overloadable while-loops, if-then-else statements, object construction, etc. (not only for-comprehensions)
  • extension methods: define new infix-methods on existing types (pimp-my-library with less boilerplate)

Further descriptions and examples are available on the Scala-Virtualized Wiki.

An accompanying technial paper has even more in-depth information: pdf preprint, published version.

Tutorial source code is available at github.com/adriaanm/scala-virtualized-tutorial.

How to Use it

Here is a sample build.sbt file for use with the Simple Build Tool (SBT):

name := "My Scala-Virtualized Project"
version := "1.0"
scalaVersion := "2.10.0-RC1"
scalaOrganization := "org.scala-lang.virtualized"

Releases of Scala-Virtualized are binary compatible with the corresponding regular Scala release.

Note: The code in this repository is no longer up to date and kept for archival purposes only. Up-to-date sources live in branch topic-virt here.

Something went wrong with that request. Please try again.