diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2013-02-14 13:59:12 -0600 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2013-02-15 11:08:30 -0600 |
commit | 1785c6877ba0d5329c700e82b6ccf0e7a2e684b8 (patch) | |
tree | 27163aa70d6f24b1de82113b05dcf7db921e1b57 /doc/nimrodc.txt | |
parent | 0f2aa053d9e9bcbe67238c498ed96f27c8d737db (diff) | |
download | Nim-1785c6877ba0d5329c700e82b6ccf0e7a2e684b8.tar.gz |
EcmaScript => JS. Fixes #330
No one calls it EcmaScript anymore.
Diffstat (limited to 'doc/nimrodc.txt')
-rwxr-xr-x | doc/nimrodc.txt | 16 |
1 files changed, 8 insertions, 8 deletions
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`` |