Compiler demo, Dissertation PDF
Other demos:
Compiles most of c89 excluding nested typedefs and with reduced standard library and goto support.
Also supports the following c99 features:
- Declarations anywhere inside blocks
_Bool
/stdbool.h
stdint.h
Files in src/c_library/impl/libraries
have their own licenses inside each folder.
Files in tests/benchmark/*/
also have their own licenses.
Compatible with Node.js 15.x and 16.x. On Windows, benchmarking is done in WSL.
Compatible with Node.js 14.x using the --experimental-wasm-bigint
flag, which can be used to run the tests using npm test -- --node-arguments=--experimental-wasm-bigint
.
Benchmarking is not supported.