Note: Oak is no longer under active development. If you would like to continue using Oak, you may fork this project or try Oak.js.
The hackable, extensible, pure Swift instruction set simulator for Unix (assembly included).
Supports a limited subset of MIPS and RISC-V.
Swift 3.1 or Swift 4.0 on either macOS or Linux.
To build and test:
make
make install
oak <your-file-here>
Open your terminal, type:
swift package generate-xcodeproj
...and use the generated Xcode project file. It's gitignored though, as Xcode projects are not as flexible as the Swift Package Manager.
Mozilla Public License 2.0. Check LICENSE.