New features
c4wa
now by default writes binary WASM files, bypassing text format. You can still save WAT file either with option-k
(--keep
) or with explicit output file name-o file.wat
- There is
-a
(--alignment
) option to customize alignment hints - There is a built-in WASM interpteter (invoked with
-e
/--execute
) - Added command line option
-v
to print preprocessor command - Optimized order of local variables (grouped by type)
- Added bulk memory compiler option
wasm.bulk-memory
, emulation available min
,max
are now a system library- Ignore unused global variables
- Added Python runtime wrapper
run-wasm.py
- Added command line option
-xh
for extended help
Bug fixes
- Made it possible to have exported functions declared as
extern