Instrument the Compiler, Not the Model: A Research Instrument (EK9) and an Experimental Design for Steering Off-the-Shelf LLMs Toward Maintainable Code

This positioning paper asks whether instrumenting a programming language's compiler surface can steer off-the-shelf large language models toward code that is measurably more maintainable, without fine-tuning the model. Instrumenting the surface means three things done together: exposing the compiler's own comprehension of the code, providing correct-by-construction tooling, and phrasing diagnostics to invoke the model's deep software-engineering knowledge, all under a non-optional, in-compiler quality gate. The paper contributes an instrument and an experimental design, not empirical results. The instrument is EK9, a working general-purpose language and compiler whose deliberate contradiction of common model priors (no return statement, no null) makes it an unusually clean control for separating the language's contribution from the model's. The design sets out three questions: on diagnostic phrasing, on tool usability across model tiers, and on the maintainability outcome measured independently of the metrics the gate enforces. A validation strand covers the gate's soundness and its graceful degradation. The claim is stated at three levels: a language-independent general claim, EK9 as the measurement setting, and transfer to existing domain-specific languages as a deferred hypothesis. The individual mechanisms have substantial prior art, which the paper maps. What it claims as novel is the combination as an instrument, the enforcement at the language-definition level, and the outcome-measurement design. The work relates closely to Marron's programme of reasoning-oriented language design and to MoonBit's co-designed AI-friendly language, both of which the paper positions against. It is offered for collaboration and refutation.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-08-13
DOI
https://doi.org/10.5281/zenodo.21921885
Primary Topic
Model-Driven Software Engineering Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Instrument the Compiler, Not the Model: A Research Instrument (EK9) and an Experimental Design for Steering Off-the-Shelf LLMs Toward Maintainable Code

Stephen Limb
Zenodo (CERN European Organization for Nuclear Research)
Model-Driven Software Engineering Techniques
preprint

Instrument the Compiler, Not the Model: A Research Instrument (EK9) and an Experimental Design for Steering Off-the-Shelf LLMs Toward Maintainable Code

Stephen Limb
preprint en

Abstract

This positioning paper asks whether instrumenting a programming language's compiler surface can steer off-the-shelf large language models toward code that is measurably more maintainable, without fine-tuning the model. Instrumenting the surface means three things done together: exposing the compiler's own comprehension of the code, providing correct-by-construction tooling, and phrasing diagnostics to invoke the model's deep software-engineering knowledge, all under a non-optional, in-compiler quality gate. The paper contributes an instrument and an experimental design, not empirical results. The instrument is EK9, a working general-purpose language and compiler whose deliberate contradiction of common model priors (no return statement, no null) makes it an unusually clean control for separating the language's contribution from the model's. The design sets out three questions: on diagnostic phrasing, on tool usability across model tiers, and on the maintainability outcome measured independently of the metrics the gate enforces. A validation strand covers the gate's soundness and its graceful degradation. The claim is stated at three levels: a language-independent general claim, EK9 as the measurement setting, and transfer to existing domain-specific languages as a deferred hypothesis. The individual mechanisms have substantial prior art, which the paper maps. What it claims as novel is the combination as an instrument, the enforcement at the language-definition level, and the outcome-measurement design. The work relates closely to Marron's programme of reasoning-oriented language design and to MoonBit's co-designed AI-friendly language, both of which the paper positions against. It is offered for collaboration and refutation.

Zenodo (CERN European Organization for Nuclear Research)
Model-Driven Software Engineering Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Instrument the Compiler, Not the Model: A Research Instrument (EK9) and an Experimental Design for Steering Off-the-Shelf LLMs Toward Maintainable Code — Stephen Limb · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS