Skip to content

loshya/Oak.js

 
 

Repository files navigation

Oak.js

A port of Oak to TypeScript used for multiple school projects.

Unlike the Swift version, the TypeScript version is less flexible, but works better for less serious tasks. Also, as a result of reuse for school projects, is developed faster.

The assembler and simulator were designed by @skyus and the user interface was designed by @KarimIO.

Oak.js is a sister project of RiscBEE.

Usage

Compile:

chmod +x compile.sh
./compile.sh

Test:

node Oak.js

Clean:

chmod +x clean.sh
./clean.sh

Requirements

TypeScript 2 or above, UglifyJS 2 or above, and a compatible version of Node.js. It was tested with Node v7.

If you just want to use Oak.js, it should work fine on any modern browser, bar modern versions of Internet Explorer.

Dependencies

macOS

It is recommended to use the Homebrew package manager. Type in your terminal:

brew install node
npm install -g typescript
npm install -g uglify-js

Debian-based OSes (incl. Ubuntu)

Again, in the terminal:

sudo apt install nodejs npm
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm install -g typescript
sudo npm install -g uglify-js   

Windows

Please use Bash on Ubuntu on Windows 10 and follow the instructions for Debian-based OSes.

License

Mozilla Public License 2.0. Check LICENSE.

About

Web-based RV32i Simulator (TypeScript port of https://github.com/Skyus/Oak)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 52.5%
  • JavaScript 22.6%
  • CSS 14.5%
  • HTML 10.3%
  • Shell 0.1%