Overview
An interpreter for a custom scripting language I designed, inspired by the Windows command line and batch scripting. This was one of my first major programming projects.
Features
- Lexer - Tokenizes source code into meaningful units
- Parser - Builds abstract syntax tree from tokens
- Interpreter - Executes parsed commands
- Variables - Support for storing and retrieving values
- Control Flow - Basic conditionals and loops
Example Syntax
SET name = "Calvin"
PRINT "Hello, " + name
IF name == "Calvin" THEN
PRINT "Welcome back!"
END
What I Learned
This project taught me:
- How programming languages work under the hood
- Lexical analysis and parsing techniques
- State management in interpreters
- C++ memory management
Building this at 15 years old gave me a deep appreciation for compiler design and language implementation.