Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.62 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.62 KB

Pepa

Ruby implementation of the Monkey Language

Pepa has many sibling implementations

Status

The book (Writing An Interpreter In Go) is fully implemented. Pepa will not have a compiler implementation

Commands

Before running the command you must have Ruby 3.1.0 or up installed on your machine

Script Description
rake Run tests and rubocop
./exe/benchmark Run the classic monkey benchmark (fibonacci(35))
./exe/benchmark-yjit Run the classic monkey benchmark with JIT(fibonacci(35))
./exe/benchmark-tr Run the classic monkey benchmark transpiled to Ruby(fibonacci(35))
./exe/benchmark-tr-yjit Run the classic monkey benchmark transpiled to Ruby with JIT(fibonacci(35))
./exe/pepa Run the Pepa REPL