/pepa

An implementation of the Monkey language in Ruby

Primary LanguageRubyApache License 2.0Apache-2.0

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/pepa Run the Pepa REPL