Skip to content

MarioAriasC/pepa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An implementation of the Monkey language in Ruby

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published