Toolkit for writing fast games for the web
JavaScript C HTML Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sprites
LICENSE
README.md
alloc.c
carbon
carbon.ne
carbon.nec.js
carbonate.js
colors.c
examplesoda.js
fountain.c
fountain.js
makesheet.js
package.json
polyfill.h
sprites.c
test.c11
testbed.html

README.md

carbon

Carbon is a toolkit for writing fast games for the modern web. Games are written in Carbon, a small subset of C designed to be compiled quickly. Carbon can be compiled into asm.js through carbonation

Carbonate

To carbonate an example, run node carbonate.js colors.c where colors.c is the name of a file you would like to compile. The result will be outputed to testsoda.js, which can be tested from testbed.html.