0.1.0 • Published 4 years ago
@ictrobot/c2wasm v0.1.0
c2wasm
Other demos:
Features
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
License
Files in src/c_library/impl/libraries
have their own licenses inside each folder.
Files in tests/benchmark/*/
also have their own licenses.
Compatibility
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.