@@ -13,15 +13,15 @@ two notable changes:
13
13
normal type checking. This is a nice feature for doing research, but for
14
14
production usage, a predictable and consistent type checker is more important.
15
15
16
- For experiments and researches that depend on analyzer plugins in Scalac,
16
+ For experiments and researches that rely on analyzer plugins in Scalac,
17
17
_ research plugin_ can be used for the same purpose in Dotty. Research plugins
18
18
are more powerful than Scalac analyzers as it enables plugin authors to
19
19
customize the whole compiler pipeline. That means, you can easily use your
20
20
customized typer to replace the standard typer, or roll your own parser for
21
21
your domain-specific language. Research plugins are only enabled for nightly or
22
22
snaphot releases of Dotty.
23
23
24
- The common plugins that add a new phase to the compiler pipeline are called
24
+ The common plugins that add new phases to the compiler pipeline are called
25
25
_ standard plugins_ in Dotty. In terms of features, they are similar to
26
26
Scalac plugins, despite minor changes in the API.
27
27
@@ -44,7 +44,7 @@ pluginClass=dividezero.DivideZero
44
44
```
45
45
46
46
The above is a change from Scalac, which depends on an XML file
47
- ` scalac-plugin.xml ` . Since SBT 1.1.5, SBT also supports Dotty compiler plugins:
47
+ ` scalac-plugin.xml ` . Starting from 1.1.5, SBT also supports Dotty compiler plugins:
48
48
49
49
``` Scala
50
50
addCompilerPlugin(" org.divbyzero" % " divbyzero" % " 1.0" )
0 commit comments