Skip to content
프로젝트

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.

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

소개

C to WebAssembly compiler

웹 및 앱

README.md

Original

mini-c

Demo

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

관련 프로젝트 살펴보기

불러오는 중…