└── README.md /README.md: -------------------------------------------------------------------------------- 1 | ## Scala-Virtualized 2 | 3 | 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*). 4 | 5 | The key features are as follows: 6 | 7 | - overloadable while-loops, if-then-else statements, object construction, etc. (not only for-comprehensions) 8 | - extension methods: define new infix-methods on existing types (pimp-my-library with less boilerplate) 9 | 10 | Further descriptions and examples are available on the [Scala-Virtualized Wiki](http://github.com/tiarkrompf/scala-virtualized/wiki). 11 | 12 | An accompanying technial paper has even more in-depth information: [pdf preprint](http://lampwww.epfl.ch/~amin/pub/hosc2013.pdf), [published version](http://link.springer.com/article/10.1007%2Fs10990-013-9096-9). 13 | 14 | Tutorial source code is available at [github.com/adriaanm/scala-virtualized-tutorial](https://github.com/adriaanm/scala-virtualized-tutorial). 15 | 16 | ## How to Use it 17 | 18 | Here is a sample `build.sbt` file for use with the Simple Build Tool (SBT): 19 | 20 | name := "My Scala-Virtualized Project" 21 | version := "1.0" 22 | scalaVersion := "2.11.2" 23 | scalaOrganization := "org.scala-lang.virtualized" 24 | 25 | Releases of Scala-Virtualized are binary compatible with the corresponding regular Scala release. 26 | 27 | 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](https://github.com/namin/scala/tree/topic-virt). 28 | --------------------------------------------------------------------------------