PH.D DEFENCE - PUBLIC SEMINAR

Tools and Techniques for the Practical Design of Programming Languages

Speaker
Ms Lee Yunjeong
Advisor
Dr Ilya Sergey, Associate Professor, School of Computing


27 Nov 2026 Friday, 10:00 AM to 11:30 AM

Executive Classroom, COM2-04-02

Abstract:

Programming languages evolve through the introduction of new constructs, domain-specific abstractions, and supporting tooling. This evolution brings programmers into close interaction with meta-level language infrastructure, including macro systems, grammars, and program analyses, which shape how languages are designed, implemented, and used in practice. However, these mechanisms are often rigid and low-level, making it difficult for users to express their intent or adapt language behavior without detailed knowledge of the underlying representations and mechanics.

In this talk, I present a set of tools and techniques for the practical design of programming languages that aim to make such infrastructure more accessible, adaptable, and better aligned with user intent. The central idea is to enable users to communicate their intentions through structured examples, which can be automatically generalized while preserving correctness.

First, I examine how language designers express and realize design intent in practice, drawing on an empirical study of Racket-embedded domain-specific languages, identifying how existing meta-programming facilities support them. Second, I present an example-driven approach to repairing ambiguous grammars, where user-provided examples of intended parse structures are used to synthesize refined grammars via tree automata. Third, I demonstrate how similar techniques can be applied to improve language tooling, by filtering false positives in static analysis using patterns learned from examples.

Together, these tools and techniques show how example-driven interaction, combined with automata-based methods, can make meta-level language infrastructure more accessible, adaptable, and better aligned with how users design and reason about programming languages and their tooling.