Skip to content

CHIP-8 Compiler/Interpreter/Disassembler/Debugger Toolchain (WASM)

Notifications You must be signed in to change notification settings

retro-git/chip8-web-toolchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chip8-web-toolchain

About

Interpreter, debugger, disassembler, and compiler for the CHIP-8. Written in Rust, accessible from a web interface via WebAssembly. The compiler compiles a high-level C-like language to the CHIP-8 bytecode, and has a small standard library - an example program that demonstrates most features of the language is loaded by default in the web interface's code editor.

View the deployment at https://retro-git.github.io/chip8-web-toolchain/.

Build

Compile the Rust backend code with wasm-pack:

wasm-pack build

Install npm dependencies:

npm install

Run development server:

npm run start

Use webpack to output distribution files to dist folder:

npm run build

Run Rust unit tests:

cargo test

About

CHIP-8 Compiler/Interpreter/Disassembler/Debugger Toolchain (WASM)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published