From f1a17990be24138fe26f93977735322b31ac3c2f Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 8 Sep 2015 10:19:38 +0200 Subject: [PATCH] minor documentation cleanups --- doc/manual/stmts.txt | 4 +++- doc/nims.txt | 4 ++-- web/news.txt | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/manual/stmts.txt b/doc/manual/stmts.txt index 3fc950b4b6..062c08d7cc 100644 --- a/doc/manual/stmts.txt +++ b/doc/manual/stmts.txt @@ -329,8 +329,10 @@ The ``when`` statement enables conditional compilation techniques. As a special syntactic extension, the ``when`` construct is also available within ``object`` definitions. + When nimvm statement ---------------------- +-------------------- + ``nimvm`` is a special symbol, that may be used as expression of ``when nimvm`` statement to differentiate execution path between runtime and compile time. diff --git a/doc/nims.txt b/doc/nims.txt index ffca606989..2b9df4a87f 100644 --- a/doc/nims.txt +++ b/doc/nims.txt @@ -12,8 +12,8 @@ a ``myproject.nims`` file that simply contains Nim code controlling the compilation process. The VM cannot deal with ``importc``, the FFI is not available, so there are not -many stdlib modules that you can use with Nim's VM. However, the following -modules are available: +many stdlib modules that you can use with Nim's VM. However, at least the +following modules are available: * `strutils `_ * `ospaths `_ diff --git a/web/news.txt b/web/news.txt index 80983d33d0..ac6f8ae097 100644 --- a/web/news.txt +++ b/web/news.txt @@ -89,7 +89,8 @@ News Compiler Additions ------------------ - - The compiler now supports a new configuration system based on ``NimScript``. + - The compiler now supports a new configuration system based on + `NimScript `_. Language Additions @@ -106,7 +107,7 @@ News is allowed. Note that this doesn't declare ``x`` and ``y`` variables, for this ``let (x, y) == f()`` still needs to be used. - ``when nimvm`` can now be used for compiletime versions of some code - sections. See (XXX) for details. + sections. Click `here `_ for details. Bugfixes