nim
The Nim compiler. Process, compile, and link Nim language source files. More information: https://nim-lang.org/docs/nimc.html.
- Compile a source file:
nim
- Compile and run a source file:
nim
- Compile a source file with release optimizations enabled:
nim :release
- Build a release binary optimized for low file size:
nim :release --opt:size
- Generate HTML documentation for a module (output will be placed in the current directory):
nim doc
- Check a file for syntax and semantics:
nim check
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
