paper-with-me

홈 › Papers

Governed Metaprogramming for Intelligent Systems: Reclassifying Eval as a Governed Effect

2026-05-05 · Alan L. McCann arxiv

AI systems increasingly synthesize executable structure at runtime: LLMs generate programs, agents construct workflows,self-improving systems modify their own behavior. In classical homoiconic and staged languages, the transition from code representation to execution is unrestricted. eval is a language primitive, not a governed operation. We argue that in governed intelligent systems, this transition is an authority amplification: it converts symbolic structure into executable authority and must be mediated like any other effect. We present governed metaprogramming, a language design where program representations (machine forms) are first-class values, form manipulation is pure computation, and materialization (the transition from form to executable machine) is a governed effect subject to structural inspection. The governance system analyzes the proposed program's capability requirements, policy compliance, and resource estimates before permitting execution. We formalize two judgments: pure form evaluation (which emits no directives) and governed materialization (which emits exactly one governed directive). We prove three properties: purity of form manipulation, the no-bypass theorem, and boundary preservation. We implement the design in mashinTalk, a DSL for AI workflows compiling to BEAM byte code, and report on integration with 454 existing machine-checked Rocq theorems. The central contribution is reclassifying eval from a language primitive into a governed effect.

📄 PDF Abstract BibTeX arXiv:2605.05248

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Ungar $\unicode{x2013}$ A C++ Framework for Real-Time Optimal Control Using Template Metaprogramming

2023-09-13 · Flavio De Vincenti, Stelian Coros

We present Ungar, an open-source library to aid the implementation of high-dimensional optimal control problems (OCPs). We adopt modern template metaprogramming techniques to enable the compile-time modeling of complex s…

Code GenerationModel Predictive Control

Benchmarking LLM Code Generation for Audio Programming with Visual Dataflow Languages

2024-09-01 · William Zhang, Maria Leon, Ryan Xu, Adrian Cardenas 외

Node-based programming languages are increasingly popular in media arts coding domains. These languages are designed to be accessible to users with limited coding experience, allowing them to achieve creative output with…

BenchmarkingCode Generation

Frontier Coding Agents Use Metaprogramming to Adapt to Unfamiliar Programming Languages

2026-06-09 · Aman Sharma, Sushrut Thorat, Paras Chopra arxiv

LLM-based coding agents are usually evaluated in familiar software settings: mainstream languages, common libraries, and public repositories. These benchmarks remain important, but they can hide how agents behave when th…

Staged compilation of tensor expressions

2021-10-08 · NeurIPS Workshop AIPLANS 2021 12 · Marco Zocca

We present our current progress towards a metaprogramming framework for tensor expressions embedded in Haskell; the system offers a high-level syntax for dimension-annotated linear algebra, and generates specialized sou…

A Unified Stochastic Mechanism Underlying Collective Behavior in Ants, Physical Systems, and Robotic Swarms

2025-11-08 · Lianhao Yin, Haiping Yu, Pascal Spino, Daniela Rus arxiv

Biological swarms, such as ant colonies, achieve collective goals through decentralized and stochastic individual behaviors. Similarly, physical systems composed of gases, liquids, and solids exhibit random particle moti…