This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** This demo shows: | |
* Syntax for quasiquotations | |
* String interpolation as a quasiquote | |
* Code quoting as a quasiquote | |
* Pattern matching against code quotes | |
* Some capabilities of brand new Scala reflection API (typechecking, compiling and running ASTs) | |
*/ | |
>scala -Xquasiquotes -Yquasiquote-debug | |
Welcome to Scala version 2.10.0.dev-1473-ga6c67da (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_25). |