Skip to content

Commit 77d62a7

Browse files
Replace dotr -> scala and dotd -> scalad in the docs
1 parent 71c92fb commit 77d62a7

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

docs/_includes/getting-started.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h1 id="getting-started">Try Dotty</h1>
1010
<p>Now you can compile Scala source code:</p>
1111
<pre><code>dotc hello.scala</code></pre>
1212

13-
<p>To start the REPL, run: <code>dotr</code>.</p>
13+
<p>To start the REPL, run: <code>scala</code>.</p>
1414

1515
<p>Or, you can try Dotty in your browser with <a href="https://scastie.scala-lang.org/?target=dotty">Scastie</a>.</p>
1616

docs/docs/contributing/debug-tests.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $ dotc tests/debug/while.scala
2121
Second, run the compiled class with debugging enabled (suppose the main class is `Test`):
2222

2323
```shell
24-
$ dotr -d Test
24+
$ scala -d Test
2525
```
2626

2727
Third, start JDB:
@@ -89,7 +89,7 @@ $ dotc tests/debug/while.scala
8989
Second, run the compiled class with debugging enabled:
9090

9191
```shell
92-
$ dotr -d Test
92+
$ scala -d Test
9393
```
9494

9595
Finally, run the expect script:

docs/docs/contributing/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ all be done from within sbt:
2626
```bash
2727
$ sbt
2828
> dotc tests/pos/HelloWorld.scala
29-
> dotr HelloWorld
29+
> scala HelloWorld
3030
hello world
3131
```
3232

@@ -44,7 +44,7 @@ and you will be able to run the corresponding commands directly from your consol
4444
$ dotc tests/pos/HelloWorld.scala
4545

4646
# Run it with the proper classpath
47-
$ dotr HelloWorld
47+
$ scala HelloWorld
4848
```
4949

5050

@@ -62,7 +62,7 @@ scala>
6262
or via bash:
6363

6464
```bash
65-
$ dotr
65+
$ scala
6666
```
6767

6868

docs/docs/contributing/workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ The basics of working with Dotty codebase are documented [here](https://dotty.ep
7171
| Command | Description |
7272
|------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|
7373
| `dotc ../issues/Playground.scala` | Compile the given file – path relative to the Dotty directory. Output the compiled class files to the Dotty directory itself. |
74-
| `dotr Playground` | Run the compiled class `Playground`. Dotty directory is on classpath by default. |
74+
| `scala Playground` | Run the compiled class `Playground`. Dotty directory is on classpath by default. |
7575
| `repl` | Start REPL |
7676
| `testOnly dotty.tools.dotc.CompilationTests -- *pos` | Run test (method) `pos` from `CompilationTests` suite. |
7777
| `testCompilation sample` | In all test suites, run test files containing the word `sample` in their title. |

docs/docs/reference/metaprogramming/staging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ In case you prefer to create the project on your own, make sure to define the fo
8787
libraryDependencies += "ch.epfl.lamp" %% "dotty-staging" % scalaVersion.value
8888
```
8989

90-
and in case you use `dotc`/`dotr` directly, then use the `-with-compiler` flag for both:
90+
and in case you use `dotc`/`scala` directly, then use the `-with-compiler` flag for both:
9191

9292
```shell
9393
dotc -with-compiler -d out Test.scala
94-
dotr -with-compiler -classpath out Test
94+
scala -with-compiler -classpath out Test
9595
```
9696

9797
## Example

docs/docs/reference/metaprogramming/tasty-inspect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ compilation we need to make the compiler available to the runtime:
4747

4848
```shell
4949
dotc -d out Test.scala
50-
dotr -with-compiler -classpath out Test
50+
scala -with-compiler -classpath out Test
5151
```
5252

5353

docs/docs/usage/getting-started.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ Start using the Dotty IDE in any Dotty project by following the
3838
### Standalone installation
3939
Releases are available for download on the [Releases Section](https://github.com/lampepfl/dotty/releases)
4040
of the Dotty repository. Releases include three executables: `dotc` the Dotty compiler,
41-
`dotd` the [Dotty Documentation tool](./dottydoc.md) and `dotr` the Dotty REPL.
41+
`scalad` the [Dotty Documentation tool](./dottydoc.md) and `scala` the Dotty REPL.
4242

4343
```
4444
.
4545
└── bin
4646
   ├── dotc
47-
   ├── dotd
48-
   └── dotr
47+
   ├── scalad
48+
   └── scala
4949
```
5050

5151
Add these executables to your `PATH` and you will be able to run the corresponding commands directly
@@ -55,10 +55,10 @@ from your console:
5555
$ dotc HelloWorld.scala
5656

5757
# Run it with the proper classpath
58-
$ dotr HelloWorld
58+
$ scala HelloWorld
5959

6060
# Start a Dotty REPL
61-
$ dotr
61+
$ scala
6262
Starting dotty REPL...
6363
scala>
6464
```

0 commit comments

Comments
 (0)