Browse Source

Merge pull request #1258 from svaarala/ecmascript-e6-ref-cleanups

Use ES2015 instead of E6 in README, website, etc
pull/1268/head
Sami Vaarala 8 years ago
committed by GitHub
parent
commit
442fa278df
  1. 2
      README.md
  2. 2
      doc/low-memory.rst
  3. 4
      website/guide/luacomparison.html
  4. 2
      website/index/index.html

2
README.md

@ -27,7 +27,7 @@ Main features:
* Minimal platform dependencies
* Combined reference counting and mark-and-sweep garbage collection with finalization
* Custom features like co-routines
* Property virtualization using a subset of Ecmascript E6 Proxy object
* Property virtualization using a subset of Ecmascript E2015 Proxy object
* Bytecode dump/load for caching compiled functions
* Distributable includes an optional logging framework, CommonJS-based module
loading implementations, etc

2
doc/low-memory.rst

@ -217,7 +217,7 @@ NOTE: This list is not exhaustive, see ``config/examples/low_memory.yaml``.
- ``#undef DUK_USE_JC``
* Features borrowed from Ecmascript E6 can usually be disabled
* Features borrowed from Ecmascript ES2015 can usually be disabled
(not exhaustive):
- ``#undef DUK_USE_ES6_OBJECT_SETPROTOTYPEOF``

4
website/guide/luacomparison.html

@ -76,7 +76,7 @@ similar to Lua <code>lua_dump()</code>. See
<h2>Metatables</h2>
<p>There is no equivalent of Lua metatables in Ecmascript E5/E5.1, but
<a href="http://www.ecma-international.org/ecma-262/6.0/index.html#sec-proxy-objects">Ecmascript E6 Proxy objects</a>
<a href="http://www.ecma-international.org/ecma-262/6.0/index.html#sec-proxy-objects">Ecmascript ES2015 Proxy objects</a>
provide similar functionality. To allow property virtualization better than available in
E5/E5.1, Duktape implements an <a href="#es6-proxy">ES2015 Proxy subset</a>.</p>
@ -105,7 +105,7 @@ coroutines cannot yield from inside constructor calls or getter/setter calls.</p
<h2>Multiple return values</h2>
<p>Lua supports multiple return values, Duktape (or Ecmascript) currently
doesn't. This may change with Ecmascript E6, which has a syntax for
doesn't. This may change with Ecmascript ES2015, which has a syntax for
multiple value returns. The Duktape/C API reserves return values above 1
so that they may be later used for multiple return values.</p>

2
website/index/index.html

@ -55,7 +55,7 @@ Duktape API to call Ecmascript functions from C code and vice versa.</p>
<li>Combined reference counting and mark-and-sweep garbage collection
with finalization</li>
<li>Coroutines</li>
<li>Property virtualization using a subset of Ecmascript E6 Proxy object</li>
<li>Property virtualization using a subset of Ecmascript ES2015 Proxy object</li>
<li>Bytecode dump/load for caching compiled functions</li>
<li>Distributable includes an optional logging framework, CommonJS-based module
loading implementations, etc</li>

Loading…
Cancel
Save