Skip to content

DarrelFW321/Pepper

Repository files navigation

Pepper — A Bytecode Interpreter

Pepper is a lightweight, fast, and modular bytecode interpreter designed to execute custom virtual machine instructions efficiently.
It supports both an interactive REPL mode and file execution mode, making it ideal for testing, debugging, and experimenting with your own programming language or VM design.


🚀 Quick Start

Build

To build the Pepper interpreter, simply run:

make

To remove build artifacts and binaries:

make clean

Run

REPL:

./pepper

> var count = 3;
> print count;
3

File Execution Mode:

Run a Pepper source or bytecode file directly:

./pepper <filename>

Example:

./pepper test_programs/morelocals.txt

Author

Darrel Wihandi Software Engineering @ University of Waterloo. Interests: Compilers, Virtual Machines, AI/ML Infrastructure.

License

This project is distributed under the MIT License. See LICENSE for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published