minor documentation cleanups

This commit is contained in:
Araq 2015-09-08 10:19:38 +02:00
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 a special syntactic extension, the ``when`` construct is also available
within ``object`` definitions. within ``object`` definitions.
When nimvm statement When nimvm statement
--------------------- --------------------
``nimvm`` is a special symbol, that may be used as expression of ``when nimvm`` ``nimvm`` is a special symbol, that may be used as expression of ``when nimvm``
statement to differentiate execution path between runtime and compile time. 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. compilation process.
The VM cannot deal with ``importc``, the FFI is not available, so there are not 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 many stdlib modules that you can use with Nim's VM. However, at least the
modules are available: following modules are available:
* `strutils <strutils.html>`_ * `strutils <strutils.html>`_
* `ospaths <ospaths.html>`_ * `ospaths <ospaths.html>`_

View file

@ -89,7 +89,8 @@ News
Compiler Additions 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 Language Additions
@ -106,7 +107,7 @@ News
is allowed. Note that this doesn't declare ``x`` and ``y`` variables, for is allowed. Note that this doesn't declare ``x`` and ``y`` variables, for
this ``let (x, y) == f()`` still needs to be used. this ``let (x, y) == f()`` still needs to be used.
- ``when nimvm`` can now be used for compiletime versions of some code - ``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 Bugfixes