- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
SBT buildable version of DivByZero compiler plugin
Tue, 2011-07-19, 23:28
Hi all,
After a brief conversation with Paul Phillips at Scalathon, I decided
it would be a good idea to produce an SBT 0.10 buildable version of
the DivByZero plugin that is described in Lex Spoon's tutorial on
compiler plugins. This should make it a bit easier for people (like
myself) to get started when playing with compiler plugins. The code
can be found here:
https://github.com/iainmcgin/scalac-divbyzero-plugin
The build targets 2.9.0-1 by default, however it is also set up for
cross building and can output JARs for 2.8.0, 2.8.1, 2.9.0, 2.9.0-1
and 2.10.0-SNAPSHOT (for testing against the nightly). The readme in
the project describes how to do the cross building, which sbt makes
very easy.
I hope this helps at least one person, other than myself!
Cheers,
Iain McGinniss