Azer0s / Persephone-Go

A small (and fairly slow) VM implementation for my custom ISA in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Go Report Card License: MIT

Persephone-Go

A simple Persephone implementation in Go. This repository is the, de facto, reference implementation for the Persephone instruction set. It is not incredibly fast or feature rich but it implements all Persephone language features. There will be no additional things like JIT compilation or other fancy runtime techniques. This is just a proof-of-concept. Whenever I add a new feature to Persephone, this implementation will get it first, so it's the most up-to-date.

Language Spec

Usage

$ git clone https://github.com/Azer0s/Persephone-Go.git
$ cd Persephone-Go
$ make
$ make run/examples/fib.psph

Run file

$ ./bin/persephone -i /path/to/file

Compile a file

$ ./bin/persephone -i /path/to/file -c /path/to/output/file

About

A small (and fairly slow) VM implementation for my custom ISA in Go

License:MIT License


Languages

Language:Go 99.0%Language:Makefile 0.6%Language:Shell 0.3%