← Reddit

I told Claude to build a programming language for use only by AI and not people.

Reddit · skoon · June 15, 2026
A developer prompted two LLMs to create a programming language designed for AI rather than human use, with Claude proposing a language stripped of human-oriented features based on Assembly. The developer is generating training data to teach a base model the new language and plans to develop a compiler to test whether the code actually executes.

Detailed Analysis

A self-described "mediocre web developer" with no compiler-writing experience has documented an experiment in which he prompted Claude and Google's Gemini to each independently design a programming language optimized for use by artificial intelligence systems rather than human programmers. The project, shared to the r/ClaudeAI subreddit with an accompanying GitHub repository, represents an informal but conceptually provocative exercise in AI-assisted language design. Both models arrived at overlapping conclusions about what such a language would look like, suggesting some degree of convergent reasoning about the structural properties that distinguish human-readable code from machine-optimal instruction formats.

A notable divergence emerged between the two models' approaches: Claude independently recognized parallels to Assembly language — the low-level, human-unfriendly instruction set that sits closest to raw machine code — but then pushed further, proposing to strip away even the minimal concessions Assembly makes to human cognition. This distinction is meaningful. Assembly was originally designed as a thin abstraction over binary machine code, retaining just enough symbolic structure for humans to read and debug. Claude's instinct to use that as a starting point, then deliberately remove human-legibility features, reflects a coherent design philosophy: if the consumer of the code is an AI model rather than a person, conventions like mnemonic naming, whitespace conventions, and linear narrative structure become unnecessary overhead rather than useful affordances.

The user's methodology extended beyond specification design into practical experimentation. After obtaining language specs from each model, he instructed them to generate training data for those languages, with the longer-term aim of fine-tuning a base model to write code in the new language — and then having that model write a compiler to determine whether the generated programs are actually executable. This recursive loop — AI designs language, AI generates training data, AI learns language, AI writes compiler — represents a closed, self-referential pipeline that sidesteps human expertise at nearly every stage. The user openly acknowledges uncertainty about whether either language design is technically feasible, framing the entire project as an exploratory curiosity rather than a rigorous engineering effort.

The experiment connects to a broader and increasingly active area of inquiry in AI research: whether the symbolic and syntactic conventions of programming languages, which evolved to serve human cognitive constraints, are actually optimal for AI code generation. Researchers have explored whether LLMs generate more accurate code in certain languages over others, and whether models might perform better on custom intermediate representations. The idea of an "AI-native" programming language — one with no obligation to human readability, modularity intuitions, or naming conventions — remains largely theoretical but is gaining traction as code-generating models become more capable. Claude's approach of treating Assembly as a conceptual ancestor while discarding its human-facing remnants suggests the model has internalized something meaningful about the functional separation between machine execution and human interpretation.

The informal nature of the project — tokens described as "free," expertise disclaimed upfront, results uncertain — is itself characteristic of a mode of AI-assisted exploration that has become increasingly common. Non-expert users are leveraging conversational AI to probe technical domains that would previously have required years of specialized training to even frame correctly. Whether or not Claude's AI-optimized language proves executable or useful, the experiment illustrates how frontier models are now capable of generating internally consistent, technically grounded design artifacts in highly specialized domains, even when the human directing the process lacks the background to independently evaluate them.

Read original article →