add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

29
pages.zh/common/nim.md Normal file
View File

@@ -0,0 +1,29 @@
# nim
> Nim 编译器。
> 处理、编译和链接 Nim 语言源文件。
> 更多信息:<https://nim-lang.org/docs/nimc.html>。
- 编译源文件:
`nim compile {{path/to/file.nim}}`
- 编译并运行源文件:
`nim compile -r {{path/to/file.nim}}`
- 编译源文件并启用发布优化:
`nim compile -d:release {{path/to/file.nim}}`
- 构建一个针对低文件大小优化的发布二进制文件:
`nim compile -d:release --opt:size {{path/to/file.nim}}`
- 为模块生成 HTML 文档(输出将放置在当前目录):
`nim doc {{path/to/file.nim}}`
- 检查文件的语法和语义:
`nim check {{path/to/file.nim}}`