summary refs log tree commit diff stats
path: root/doc/backends.rst
diff options
context:
space:
mode:
authorhlaaftana <10591326+hlaaftana@users.noreply.github.com>2020-04-28 20:44:52 +0300
committerGitHub <noreply@github.com>2020-04-28 19:44:52 +0200
commitcd9af6b8040bc72985d457e5169e18ded7c107d6 (patch)
tree62807f310d4483b9e14db0ae5a639ff3c1b029a9 /doc/backends.rst
parentd5ed4fba3e9225e687d916fd4129e3c61550e193 (diff)
downloadNim-cd9af6b8040bc72985d457e5169e18ded7c107d6.tar.gz
StringStream & more stdlib modules support for JS/NimScript (#14095)
* StringStream & more stdlib modules support for JS/NimScript

* change back pegs test in line with #14134
Diffstat (limited to 'doc/backends.rst')
-rw-r--r--doc/backends.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/backends.rst b/doc/backends.rst
index 1a6729ee6..52c16b9f7 100644
--- a/doc/backends.rst
+++ b/doc/backends.rst
@@ -76,13 +76,15 @@ available. This includes:
 * manual memory management (``alloc``, etc.)
 * casting and other unsafe operations (``cast`` operator, ``zeroMem``, etc.)
 * file management
-* most modules of the standard library
+* OS-specific operations
+* threading, coroutines
+* some modules of the standard library
 * proper 64 bit integer arithmetic
-* unsigned integer arithmetic
 
-However, the modules `strutils <strutils.html>`_, `math <math.html>`_, and
-`times <times.html>`_ are available! To access the DOM, use the `dom
-<dom.html>`_ module that is only available for the JavaScript platform.
+To compensate, the standard library has modules `catered to the JS backend
+<https://nim-lang.org/docs/lib.html#pure-libraries-modules-for-js-backend>`_
+and more support will come in the future (for instance, Node.js bindings
+to get OS info).
 
 To compile a Nim module into a ``.js`` file use the ``js`` command; the
 default is a ``.js`` file that is supposed to be referenced in an ``.html``