This page is no longer maintained — Please continue to the home page at

Compiler handling of sourcetext

No replies
Joined: 2008-10-08,
User offline. Last seen 1 year 38 weeks ago.
Are there elements in the scala syntax that allows for unsafe behaviour (like accessing file structure, annotations or scaladoc) during compilation? I'm asking because I rely on the compiler to generate code from small fragments of code, but because it cannot run in a sandboxed environment it would be nice to have some degree of confidence about the compilation process.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland