An assembler and simulator generator written in TypeScript JavaScript.
It supports both RISCV (RV32I) and MIPS (Core Instruction Set).
The assembler and simulator were designed by @donn and the user interface for the web version was designed by @KarimIO.
Special thanks to @alikhaled96 for helping implement MIPS.
Node v12 or higher.
If you just want to use Oak.js, it should work fine on any modern browser, bar modern versions of Internet Explorer.
Use tj/n
to install node.
curl -L https://git.io/n-install | bash
sudo n lts
Please use WSL2 for Windows 10 and follow the instructions for Debian-based OSes for a supported and tested workflow.
If you do not wish to use the Linux subsystem, try first installing Node.js from their website. This codebase uses symlinks, however, so no promises this will function.
Like Debian-based OSes, you may need administrative privileges for this.
Type npm i -g yarn
. Simple.
You also need to install package dependencies. You can just write yarn install
.
For the web, yarn start
for the CLI, invoke node ./main.js --help
.
Mozilla Public License 2.0. Check LICENSE.