This project is read-only.


[Feature Request] Allow for enabling additional features


In Node.js one can enable additional features like e.g. harmony proxies by a number of command line options:
$ node --v8-options | grep harm
  --harmony_typeof (enable harmony semantics for typeof)
  --harmony_scoping (enable harmony block scoping)
  --harmony_modules (enable harmony modules (implies block scoping))
  --harmony_symbols (enable harmony symbols (a.k.a. private names))
  --harmony_proxies (enable harmony proxies)
  --harmony_collections (enable harmony collections (sets, maps, and weak maps))
  --harmony_observation (enable harmony object observation (implies harmony collections)
  --harmony_typed_arrays (enable harmony typed arrays)
  --harmony_array_buffer (enable harmony array buffer)
  --harmony_generators (enable harmony generators)
  --harmony_iteration (enable harmony iteration (for-of))
  --harmony_numeric_literals (enable harmony numeric literals (0o77, 0b11))
  --harmony_strings (enable harmony string)
  --harmony_arrays (enable harmony arrays)
  --harmony (enable all harmony features (except typeof))
I've attached the full output when calling "node.exe --v8-options".

My feature request:

Please add support for configuring v8 options similar to node.js, at least enabling Harmony Proxy support.

file attachments

Closed May 28, 2015 at 5:34 AM by jamesnw
Latest dev commit now includes {V8Engine}.SetFlagsFromCommandLine(string).

For a list of some existing flag definitions, look here:

Example: {V8Engine}.SetFlagsFromCommandLine("--use_strict");


jamesnw wrote Apr 24, 2014 at 7:35 PM

Thanks - should easily make it in the next dev release.