add new chinese translations
This commit is contained in:
24
pages.zh/common/scala.md
Normal file
24
pages.zh/common/scala.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Scala
|
||||
|
||||
> Scala 应用程序启动器和交互式解释器。
|
||||
> 更多信息:<https://scala-lang.org>。
|
||||
|
||||
- 启动 REPL(交互式 shell):
|
||||
|
||||
`scala`
|
||||
|
||||
- 在类路径中启动带有依赖的解释器:
|
||||
|
||||
`scala -classpath {{filename.jar}} {{command}}`
|
||||
|
||||
- 执行 Scala 脚本:
|
||||
|
||||
`scala {{script.scala}}`
|
||||
|
||||
- 执行 `.jar` 程序:
|
||||
|
||||
`scala {{filename.jar}}`
|
||||
|
||||
- 在命令行中执行单个 Scala 命令:
|
||||
|
||||
`scala -e {{command}}`
|
Reference in New Issue
Block a user