Skip to content
CK/SYSTEMS
archived tooling

Mouse-Script Interpreter

Custom scripting language with lexer and parser

Role

Solo Developer

Timeframe

2017

Stack

C++

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.

Outcomes

  • Custom lexer and parser implementation
  • Variable support and control flow
  • Batch-style command syntax

Need a workflow like this shipped properly?

Send the workflow, bottleneck, or delivery problem. I will tell you whether it fits a governed workflow audit, starter build, or implementation sprint.

Request consulting
Newsletter

Short notes on building AI agents in production.

One email when something worth sharing ships. No fluff, no daily cadence, no recycled growth-thread noise.

Primary use: consulting updates, governed AI workflow lessons, and major project writeups.