Skip to content

hust-open-atom-club/riscv-online

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

riscv-online

Online RISC-V assembly development tools.

Setup

This project is a RISC-V online disassembly website written in Rust WebAssembly and JavaScript.

Rust Toolchain

Rust toolchain including rustup, rustc, and cargo.

Install using rustup(Recommended)

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

wasm-pack

wasm-pack is your one-stop shop for building, testing, and publishing Rust-generated WebAssembly.

Install on Unix, Linux, MacOS with curl

curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

Install from source on Windows and any platform with cargo

cargo install wasm-pack

npm

npm is a package manager for JavaScript.

To set up npm, nodejs is required.

Install on Windows with executeable file download from nodejs homepage

Install on Macos with brew

brew install node

Install on Ubuntu with apt

sudo apt install nodejs npm

Or with other system package manager you like

Selfhost

Stepping to build

Download the latest source code.

git clone [email protected]:hust-open-atom-club/riscv-online.git

Compile rust code into WebAssembly

cd wasm-riscv-online/www
wasm-pack build

Install JavaScript package

npm install

Start local http server

npm run start

Navigate your Web browser to http://localhost:8080/.

About

Online RISC-V assembly development tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •