Merge pull request #1299 from gradha/pr_documents_interfacing

Documents backend interfacing
This commit is contained in:
Andreas Rumpf 2014-06-30 19:11:30 +02:00
commit ca8f02c7d6
9 changed files with 452 additions and 51 deletions

View file

@ -7,7 +7,8 @@
# distribution, for details about the copyright.
#
## Declaration of the Document Object Model for the JavaScript backend.
## Declaration of the Document Object Model for the `JavaScript backend
## <backends.html#the-javascript-target>`_.
when not defined(js) and not defined(Nimdoc):
{.error: "This module only works on the JavaScript platform".}

View file

@ -10,7 +10,8 @@
## Constructive mathematics is naturally typed. -- Simon Thompson
##
## Basic math routines for Nimrod.
## This module is available for the JavaScript target.
## This module is available for the `JavaScript target
## <backends.html#the-javascript-target>`_.
include "system/inclrtl"

View file

@ -10,6 +10,8 @@
## This module contains various string utility routines.
## See the module `re <re.html>`_ for regular expression support.
## See the module `pegs <pegs.html>`_ for PEG support.
## This module is available for the `JavaScript target
## <backends.html#the-javascript-target>`_.
import parseutils

View file

@ -9,7 +9,8 @@
## This module contains routines and types for dealing with time.
## This module is available for the JavaScript target.
## This module is available for the `JavaScript target
## <backends.html#the-javascript-target>`_.
{.push debugger:off.} # the user does not want to trace a part
# of the standard library!