diff options
author | Araq <rumpf_a@web.de> | 2015-09-08 10:19:38 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-09-08 10:22:16 +0200 |
commit | f1a17990be24138fe26f93977735322b31ac3c2f (patch) | |
tree | bfb7142bb16646cba840de0f0b7c4a42f76762ed | |
parent | 494431e3b4bd6068d3457dbd61eb2670336096b0 (diff) | |
download | Nim-f1a17990be24138fe26f93977735322b31ac3c2f.tar.gz |
minor documentation cleanups
-rw-r--r-- | doc/manual/stmts.txt | 4 | ||||
-rw-r--r-- | doc/nims.txt | 4 | ||||
-rw-r--r-- | web/news.txt | 5 |
3 files changed, 8 insertions, 5 deletions
diff --git a/doc/manual/stmts.txt b/doc/manual/stmts.txt index 3fc950b4b..062c08d7c 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 ffca60698..2b9df4a87 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 <strutils.html>`_ * `ospaths <ospaths.html>`_ diff --git a/web/news.txt b/web/news.txt index 80983d33d..ac6f8ae09 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 <docs/nims.html>`_. 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 <docs/manual.html#when-nimvm-statement>`_ for details. Bugfixes |