Mason: Type- and Name-Guided Program Synthesis Journal: PACMPL
Jasper Geer, Fox Huston, Jeffrey S. Foster · 2026
Read Mason: Type- and Name-Guided Program Synthesis Journal: PACMPL by Jasper Geer, Fox Huston, Jeffrey S. Foster (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2602-16981.txt.
Description
Jasper Geer, Fox Huston, and Jeffrey Foster bring in Mason, a type- and name-guided program synthesis tool. Many recurring coding idioms appear in object-oriented programs, including idioms design patterns capture. Useful as design patterns are, putting them into code can be tedious and repetitive, with boilerplate pulling the programmer from more essential details. Mason builds object-oriented programs from partial program pieces, using that process to insert design patterns into programs automatically.
At Mason's core is type- and name-guided synthesis. An enumerative solver walks through a partial program, producing typing constraints. Those constraints are then cleared through program transformations that take guidance from the names of constrained types and members. When a constraint breaks, or a candidate program fails its unit tests, it retreats to an earlier choice. In testing, Mason does well where only a handful of candidate programs meet its constraints.
Catalog record
| CREATOR | Jasper Geer, Fox Huston, Jeffrey S. Foster |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 41 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2602-16981