An open API service indexing awesome lists of open source software.

https://github.com/apskhem/c-webassembly

A C-like programming language for writing WebAssembly–with mostly preserved original instructions, compiled into .wasm binary.
https://github.com/apskhem/c-webassembly

compiler programming-language wasm webassembly

Last synced: about 1 month ago
JSON representation

A C-like programming language for writing WebAssembly–with mostly preserved original instructions, compiled into .wasm binary.

Awesome Lists containing this project

README

          


c-webassembly-logo



## C-WebAssembly
[Demo](/docs/#readme) — [Documentation](/docs/#readme)

badge
badge
badge
badge

**C-WebAssembly** is a programming language designed specifically for writing WebAssembly in C-like syntax as close to the machine as possible, with manual table and memory management and native instructions. The language will be compiled into .wat or .wasm, without any boilerplate or over-generated code (except built-in libraries). With C-WebAssembly, it is possible to manage memory and table manually. The compiler aims to provide a zero-cost abstraction feature that guarantees compiled code is fully optimized.

### Sample Syntax

[view simple code sample](tests/samples/simple.cwal)