minor documentation cleanups

This commit is contained in:
Araq
2015-09-08 10:19:38 +02:00
parent 494431e3b4
commit f1a17990be
3 changed files with 8 additions and 5 deletions

View File

@@ -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.

View File

@@ -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>`_

View File

@@ -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