Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

donn/Oak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Oak

SwiftPM compatible Swift Version 3.1 License: MPL 2.0

The hackable, extensible, pure Swift instruction set simulator for Unix (assembly included).

Supports a limited subset of MIPS and RISC-V.

Requirements

Swift 3.1 or Swift 4.0 on either macOS or Linux.

Usage

Unix

To build and test:

    make
    make install
    oak <your-file-here>

macOS (Xcode)

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.

License

Mozilla Public License 2.0. Check LICENSE.