Voidjs is a JavaScript interpreter, it supports most of the ES5.1 specification, expect for Date and RegExp.
A CMakeLists.txt is provided to compile the interpreter on Linux/MacOS/Windows. Note that only 64 bit operating systems are supported.
Use the command below to run all unit tests.
./bin/unit_test
voidjs [options] [file]
Options are:
--dump-ast
Dump AST to JSON files.
I've learned a lot from Constellation/iv, OpenHarmony/arkcompiler_ets_runtime , V8, zhuzilin/es.
Also, thanks a lot to the specification file Annotated ECMAScript 5.1.