Projekte
Auf GitHub ansehen
maierfelix/mini-c
maierfelix/mini-c has 265 GitHub stars and 21 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-24 02:28 UTC. Last push 2017-09-20.
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
Über uns
C to WebAssembly compiler
Web und AppsREADME.md
Originalmini-c
Description:
This is an experimental C compiler which compiles into WebAssembly. It's currently written in plain JavaScript but will be rewritten in C (and get self-hosted) as soon as the compiler has enough features to do so.
API:
Compiling a source file:
compile(src: String, imports: Object, sync: Boolean)
compile(`
int main(int a, int b) {
return (a + b);
};
`, {}, false);
Building
cd node
node index
This generates bin/dist.js
Testing
You can either run the tests like below or using the html version
cd node
node test
Ähnliche Projekte entdecken
Wird geladen…