← Back to Projects
Finished University

AI Workflow DSL

A Python implementation of a DSL for multi-agent workflows: a lexer, grammar with generated parse tables, parser, CLI, and documentation generator, exercised against suites of valid and invalid sample programs.

Technologies used

Python LP PT unittest

Problem

Describing how multiple AI agents hand work to each other in plain code buries the workflow structure in boilerplate — the course challenge was to design a small language where the workflow itself is the program, and to build the tooling to parse it.

Solution

The project defines the grammar and generates parse tables from it, then implements a lexer and parser that accept a corpus of valid DSL programs and reject invalid ones with useful errors. A CLI runs programs end-to-end and a doc generator keeps the written deliverables in sync with the grammar, verified by a unittest suite.

What I Learned

Generating the parse tables from the grammar instead of hand-writing them meant every grammar change was cheap — the hard design work was in the language, and the tooling followed mechanically.

More University projects

University

University

React TypeScript LS

AUB Course Planner

A university planning concept for comparing courses, requirements, and semester load.

AUBus Premium landing screen - dark theme with server connection setup
Login screen with email/username and Google sign-in option Google OAuth account picker

University

Python PyQt5 TS

AUBus Premium

A PyQt-based carpooling platform connecting AUB student drivers and passengers in real time.

CampusConnect login screen with seeded demo account shortcuts
CampusConnect student dashboard with upcoming event and active club counts CampusConnect clubs view showing club cards and join actions

University

Java 17 Spring Boot 3 Spring Data JPA

CampusConnect

A Spring Boot activity-management system for AUB clubs, events, and registrations.