diff options
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/lib.txt | 2 | ||||
-rwxr-xr-x | doc/manual.txt | 2 | ||||
-rwxr-xr-x | doc/nimrodc.txt | 16 |
3 files changed, 10 insertions, 10 deletions
diff --git a/doc/lib.txt b/doc/lib.txt index a429a8289..f18693614 100755 --- a/doc/lib.txt +++ b/doc/lib.txt @@ -328,7 +328,7 @@ Modules for JS backend --------------------------- * `dom <dom.html>`_ - Declaration of the Document Object Model for the ECMAScript backend. + Declaration of the Document Object Model for the JS backend. Impure libraries diff --git a/doc/manual.txt b/doc/manual.txt index ad43d0379..b70dbdebc 100755 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -4720,7 +4720,7 @@ Foreign function interface ========================== Nimrod's `FFI`:idx: (foreign function interface) is extensive and only the -parts that scale to other future backends (like the LLVM/EcmaScript backends) +parts that scale to other future backends (like the LLVM/JavaScript backends) are documented here. diff --git a/doc/nimrodc.txt b/doc/nimrodc.txt index 06a0f4500..06d447b7e 100755 --- a/doc/nimrodc.txt +++ b/doc/nimrodc.txt @@ -190,7 +190,7 @@ Define Effect ``useRealtimeGC`` Enables support of Nimrod's GC for *soft* realtime systems. See the documentation of the `gc <gc.html>`_ for further information. -``nodejs`` The EcmaScript target is actually ``node.js``. +``nodejs`` The JS target is actually ``node.js``. ``ssl`` Enables OpenSSL support for the sockets module. ``memProfiler`` Enables memory profiling for the native GC. ================== ========================================================= @@ -549,17 +549,17 @@ efficient: else: quit(errorStr(p, "unknown variable: " & k.key)) -The ECMAScript target +The JavaScript target ===================== -Nimrod can also generate `ECMAScript`:idx: (also known as `JavaScript`:idx:) -code. However, the ECMAScript code generator is experimental! +Nimrod can also generate `JavaScript`:idx: code. However, the +JavaScript code generator is experimental! -Nimrod targets ECMAScript 1.5 which is supported by any widely used browser. -Since ECMAScript does not have a portable means to include another module, +Nimrod targets JavaScript 1.5 which is supported by any widely used browser. +Since JavaScript does not have a portable means to include another module, Nimrod just generates a long ``.js`` file. -Features or modules that the ECMAScript platform does not support are not +Features or modules that the JavaScript platform does not support are not available. This includes: * manual memory management (``alloc``, etc.) @@ -571,7 +571,7 @@ available. This includes: However, the modules `strutils`:idx:, `math`:idx:, and `times`:idx: are available! To access the DOM, use the `dom`:idx: module that is only -available for the ECMAScript platform. +available for the JavaScript platform. To compile a Nimrod module into a ``.js`` file use the ``js`` command; the default is a ``.js`` file that is supposed to be referenced in an ``.html`` |