Building | QuickJS-NG

git clone https://github.com/quickjs-ng/quickjs.git
cd quickjs

This will build the qjs and qjsc executables and other test tools. Head over here for instructions on how to use them.

The amalgamated build rolls individual source files into a single big file. It's a good choice for projects that want to use QuickJS without CMake.

To enable the std, os and bjson modules, compile quickjs-amalgam.c with -DQJS_BUILD_LIBC.

This will produce a debug build without optimizations, suitable for developers.

This will run the test262 suite.

This will run the test262 suite and update the error / pass report, useful after implementing a new feature that would alter the result of the test suite.