r/computerscience • u/samaxidervish • Feb 18 '26
Advice Trying to create LOOP language
Hello everyone,
I’m examining the idea of designing a loop-centric programming language inspired by the classical theoretical LOOP model and the broader minimalist philosophy associated with early systems language design. The core idea is to treat bounded or unbounded iteration as the primary computational primitive, with other constructs minimised or derived from it.
The language I’m experimenting with, Gamma Loop, transpiles to C for portability and optimisation, but my primary interest is theoretical rather than practical. Specifically, I’m curious whether revisiting a LOOP-style framework has meaningful value in modern computability theory.
Does centring a language around bounded iteration provide any new perspective on primitive recursive functions or total computability, or has this conceptual space already been fully explored?
I would appreciate theoretical insights or references relevant to constrained computational models.


View all comments
Show parent comment
0
u/samaxidervish Feb 18 '26
That’s a fair point. At first, it does feel like adding an arbitrary restriction. I had a similar reaction when I started learning OOP most of what you can do in object oriented code can also be done imperatively, and at first it seemed redundant.
For a loop-centric paradigm, there are some applications where it could be useful. For example, systems or algorithms that are naturally structured around repeated state updates, like simulations, reactive systems, firmware loops, or real-time processing, can be expressed more clearly when iteration is the core abstraction. By making loops the structural backbone, the language can expose things like iteration counters, declarative bounds, or controlled infinite loops as first-class features, which could simplify reasoning about these kinds of programs.
For example, arduino framework for embedded systems have the continuous loop execution system.
It’s still early, and I’m experimenting to see if these ideas can provide practical benefits rather than just being a theoretical curiosity.