Skip to content

C compiler that generates WebAssembly code, written in TypeScript

Notifications You must be signed in to change notification settings

source-academy/c-slang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Ensure you are in the root of the repository
  2. Install the c-viz submodule with git submodule update --init
  3. Run yarn install to install dependencies
  4. Run yarn install-all to install all dependencies of subprojects
  5. Run yarn build to build the project

c-slang can then be published to npm by running yarn publish

About

C compiler that generates WebAssembly code, written in TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •