@sourceacademy/c-slang
v1.0.21
Published
C compiler that generates WebAssembly code, written in TypeScript, intended for teaching C programming in a browser-only environment.
Downloads
734
Readme
c-slang
C compiler that generates WebAssembly code, written in TypeScript, intended for teaching C programming in a browser-only environment.
This repository consists of 2 subprojects:
- ctowasm: a C compiler that generates WebAssembly code, written in TypeScript, intended for teaching C programming in a browser-only environment. Refer to the README in the ctowasm project directory for more information on ctowasm
- c-viz: a C code interpreter & visualizer
Build Instructions
- Ensure you are in the root of the repository
- Install the c-viz submodule with
git submodule update --init
- Run
yarn install
to install dependencies - Run
yarn install-all
to install all dependencies of subprojects - Run
yarn build
to build the project
c-slang can then be published to npm by running yarn publish