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.
To build the Pepper interpreter, simply run:
make
To remove build artifacts and binaries:
make cleanREPL:
./pepper
> var count = 3;
> print count;
3File Execution Mode:
Run a Pepper source or bytecode file directly:
./pepper <filename>Example:
./pepper test_programs/morelocals.txtDarrel Wihandi Software Engineering @ University of Waterloo. Interests: Compilers, Virtual Machines, AI/ML Infrastructure.
This project is distributed under the MIT License. See LICENSE for more information.