Minilang — Interpreter

Custom programming language interpreter implemented in C++.

Overview

Minilang is a tiny language I made to learn interpreters. It supports variables, arithmetic, and printing.

Architecture

It has a simple pipeline: a lexer for tokens, a recursive descent parser that builds an AST, and a tree‑walking interpreter.

Highlights

  • Robust syntax/runtime error handling
  • Variable state and scope via hash map
  • Clean, modular design