Loops appear in different contexts—both in programming and in knitting. In computer science, loops are constructs that allow specific instructions to be executed repeatedly until a defined condition is met. In knitting, stitches are created by pulling a strand of yarn through a loop. This process is repeated until the knitted piece reaches the desired size. In both cases, the aim is to describe recurring processes through clear instructions.
This project explores the structural and linguistic similarities between knitting patterns and programming languages. For a long time, knitting techniques were primarily transmitted orally before the invention of printing led to the increasing establishment of written instructions. In order to make work processes understandable and reproducible, various forms of notation developed. With the industrialization of textile production, methods emerged that allowed such instructions to be read by machines. The formal encoding of manual processes later became an important foundation for early computer technologies and programming languages.
A comparison of knitting patterns and programming languages reveals striking parallels in their linguistic structure. Both follow clearly defined rules—a fixed vocabulary and an unambiguous syntax—in order to ensure an error-free result. The analysis of these similarities led to the development of the experimental programming language “Loops,” which uses knitting patterns as a starting point for different forms of repetition.
On this website, the language can be explored by programming knitting patterns composed of knit and purl stitches. These are visualized both as text-based sequences of stitches and as graphical knitting charts. The grid-based representations not only make the production process visible, but also convey an impression of the final appearance of the knitted piece. Through color-based translations of the patterns and dynamic adaptation to different screen sizes, the website itself becomes part of the design process—demonstrating how closely handcraft, language, and code can be interconnected.