
Documentation - Nim Programming Language
All Nim documents and modules in one place. Use Ctrl/Cmd+F. Search for available Nimble packages. Write an interpreter for the BrainF#@% programming language in Nim. A series of short examples covering the most common topics. Building mini applications with Nim. A collection of Nim snippets with brief notes.
Nim Manual
A Nim program consists of one or more text source files containing Nim code. It is processed by a Nim compiler into an executable. The nature of this executable depends on the compiler implementation; it may, for example, be a native binary or JavaScript source code. In a typical Nim program, most of the code is compiled into the executable.
Nim DocGen Tools Guide
This document describes the documentation generation tools built into the Nim compiler, which can generate HTML, Latex and JSON output from input .nim files and projects.
Nim 编译器用户指南 - GitHub Pages
Nim documentation tools. Nim provides the doc and doc2 commands to generate HTML documentation from .nim source files. Only exported symbols will appear in the output. For more details see the docgen documentation. Nim idetools integration. Nim provides language integration with external IDEs through the idetools command.
第五加章 文档和调试 · GitBook - GitHub Pages
本指南将介绍一些实用工具,用于文档、分析和调试Nim代码。 内容包括: 准备好 Nim 编译器,并按照本指南中的使用。 1. 给代码添加文档. 代码文档很重要。 它解释了有关软件的具体细节,这些细节在查看库的 API 甚至软件的源代码时并非显而易见。 有许多方法可以写代码文档。 你可能知道,像许多编程语言一样,Nim支持注释。 源代码的注释,是使源码更易于理解的一种方式。 在Nim中,单行注释由字符 # 分隔。 多行注释可以用 #[ 和 ]# 。 Listing 1.1 给出两种注释 …
Nim 语言教程(第一部分) - GitHub Pages
这篇文档是 Nim 编程语言的教程。 本教程将会假定你知道一些编程基础概念,像变量、类型和声明。 更高级的语言特性可以查看这篇 手册 。 让我们来从一个修改过的"hello world"程序开始吧: # 这是一个注释 echo("What's your name? ") var name: string = readLine(stdin) echo("Hi, ", name, "!") 将代码保存为"greetings.nim",然后编译并运行它: 若含有 --run 参数 , Nim 将会在编译后自动执行程序。 你可以在文件名后加入需要传递给你的程序的参数: 常用的命令和参数都有缩 …
GitHub - nim-zh/doc: Nim 语言文档中文翻译
2015年3月12日 · 下载最新英文文档覆盖doc文件夹; 提交变更,并根据变更来更新中文文档的翻译; 合并新建的分支到master
Nim Compiler 简体中文 - Runebook.dev
本文档介绍了 Nim 编译器在不同支持平台上的用法。 它不是 Nim 编程语言的定义(包含在 manual 中)。 Nim 是免费软件;它已获得 MIT License 许可。 所有采用 PATH 或 DIR 参数的选项都需要进行路径替换: 基本的命令行开关是: Usage: Command: 参数:参数传递给正在运行的程序(如果选择了 --run 选项) Options: 根本不优化或针对速度|大小注意:使用 -d:release 进行发布版本! 请注意,带有参数的单字母选项需要冒号。 例如-p:路径。 高级命令行开关有: 运 …
nim中文资料 v2.0.2
nim中文资料 v2.0.2. Nim官方文档翻译: 教程1; 教程2; 教程3; Nim中文手册; Made with Nim. Generated: 2023-03-19 09:47:26 UTC
Tools available with Nim
Tools available with Nim. The standard distribution ships with the following tools: Hot code reloading The "Hot code reloading" feature is built into the compiler but has its own document explaining how it works. Documentation generator The builtin document generator nim doc generates HTML documentation from .nim source files.