sbt-rats provides a plugin that enables the Rats! parser generator to be used in Scala projects.
The plugin enables you to use the Rats! parser generator with Scala projects that are built using the Scala build tool sbt. The parser can be specified directly using a Rats! specification or using a simplified syntactic notation. The syntactic notation can also be translated into a Scala implementation of abstract syntax trees and a pretty printer for those trees. Pretty-printing support is provided by the Kiama language processing library.
sbt-rats is a project of the Programming Languages Research Group in the Department of Computing at Macquarie University and is led by Tony Sloane (inkytonik).
For information on usage, see the documentation.
For an overview of sbt-rats, see our overview paper on sbt-rats from the 2016 Scala Symposium and the slides from the associated presentation.
There is also a sbt template showing a simple usage of the plugin with Kiama.
- February 15, 2021: version 2.9.0 released on bintray
- September 21, 2020: version 2.8.0 released on bintray
- April 20, 2020: version 2.7.0 released on bintray
- March 22, 2019: version 2.6.0 released on bintray
- September 28, 2018: version 2.5.0 released on bintray
- August 3, 2016: version 2.4.0 released on bintray
- April 7, 2016: version 2.3.0 released on bintray
- April 21, 2015: version 2.2.0 released on bintray
- April 21, 2015: project moved to BitBucket
- October 26, 2012: version 2.1.0 released
- August 9, 2012: Slides for a ScalaSyd talk on sbt-rats posted.
sbt-rats is released under the New BSD License. See LICENSE for details.