
Mini Ruby Interpreter
Interpreter for a subset of the Ruby Programming Language
This project was developed as part of the “Compilers” course taught by Prof. Jan Van Den Bussche. The main objective of the assignment was to implement an interpreter for a subset of the Ruby Programming Language. The interpreter is written in C++ and leverages yacc and lex for lexical analysis and parsing, transforming Ruby source code into a set of symbols that can be executed. Special attention was given to type safety, ensuring that operations involving mismatched types are handled gracefully and reported correctly. The project provided valuable experience in compiler construction, language parsing, and the challenges of implementing dynamic language features in a statically typed environment.