String-rewriting paradigm
46 languages in the esolangs.org category String-rewriting paradigm, by group.
Turing tarpits
Functional and concatenative
Rewriting
Thue
A program is a bag of find-and-replace rules and a starting string. Rules fire in any order, at any place, until none can.
2000●○○runnableMuriel
There are no loops. To do something again, a program writes out a new copy of itself and runs that instead.
2001●●●runnable///
Find-and-replace as a whole language. Each substitution rewrites the rest of the program, so the program edits itself as it runs.
2006●●○runnableThutu
Thue with regular expressions and indented blocks. The whole state is one string.
2007●●●runnableItflabtijtslwi
A relative of /// that can also read its input, so its rewriting programs can work on what the user types.
2006runnableSortle
A sorted list of named expressions. Each one renames itself, and the last name left is the output.
2005●●●runnableEgaharjb
Find and replace with regexes, in loops that run until nothing matches.
2020●●○runnableEncapsulation
Find a literal string of bits, replace it, repeat. The run ends when the first bit turns to 1.
2019●●○runnableExpansion
One line of memory. Every bracketed word in it is rewritten at once, turn after turn, until no bracketed word is left.
2024●○○runnableLeszek
No jumps, no loops, no variables and no stack. Each turn the program is replaced by what it says.
2006●●●runnableObject oriented Thue
Thue, where the string can hold objects, and every object carries a string and rules of its own.
2012●●●runnableREGXY
Two kinds of line, a test and a change, both made of a Perl regular expression.
●●○runnableTetanus
One regular expression, applied over and over until it no longer matches.
2022●●●runnableParentheses only
Nothing but parentheses. The first group takes in the second and rewrites itself, until no rule fits.
2020●●●runnableRIfP
Replace If Possible. Every change to a string is also the test that decides where to jump.
2023●○○runnableSultan's daughter
A princess answers a string of digits with another string of digits. Find one she answers with itself.
1997●●○runnableToFunction
One string, a list of rules, and a run that goes round the list until the string stops changing.
2026●○○runnableMyth
Thue written as one JSON object, run by 137 bytes of JavaScript.
2013●●○runnableStrvar
Variables that hold strings, and a string that names a variable turns into its value.
2020●○○runnableTandem
One rewrite rule, applied once. The choices and the loops are inside the rule, and the rules form a Kleene algebra.
2020●●○runnable1cnis
A list where every element is replaced at once, and each element carries one counter.
2007●●○runnableA=B
One line of text, and a list of replacements tried from the top until none fits.
2022●○○runnableAarkinitio
Every cell holds a piece of text, and the only way to change it is to name what it says now.
2024●●○runnableABCstr
One string that starts as abc. Each line looks for a piece of it, and a piece that is missing is a jump.
●●○runnableBeautiful day
A grammar that runs. Every rule that fits opens a branch, and the answer is whether the input can be built.
2020●●○runnableDOESNT
Rules that say what they will not take, eating a ring of symbols from the head.
2026●●○runnableFThue
Thue, but the string holds function calls, and the rules are their definitions.
2022●●○runnableGecko
One global string, and every statement is a regex that rewrites it.
2019●●○runnableGummy Bear
A string of bits with one dot in it, and rules that rewrite what touches the dot on either side.
2020●●○runnableLiberation
Bits lie still. Only the dots between them can act, and every dot acts at the same time.
2020●●○runnableMacrosia
Text with calls in brackets, where each step replaces the innermost calls by what they return.
2022●●○runnablePreparation
A program is one number. It turns into the next one until a number comes back.
2023●○○runnableProcedural Footnote Language
A plain text with footnotes, where a footnote can count, compare, read input and cite itself.
●●○runnableRandom
The program is its only memory, and every plain character it runs makes it one character longer.
2006●●○runnablerEsKrIb!lo
String rewriting for a medieval computer, built from a loop of punched tape and 48 relays.
2014●●○runnableSemper dissolubilis
Functions are written down; types are never declared. Whatever no rule can rewrite is an object.
2020●●●runnableShinjusō
Mother-of-pearl. Rules rewrite a row of coloured beads, and an ironed bead never changes again.
2026●●○runnableTetra
Nothing but parentheses. A group that starts with an empty group splits in two, and the output is how many groups are left.
2022●●○runnableTwoee
Thue with the chance taken out. The first rule that fits always wins, and the string is printed at the end.
2018●○○runnableСобачка
A row of digits folds in on itself, pair by pair, until one digit is left.
2022●○○runnableLines
/// with input. A \| is not a bar but the next character you type.
T-Regs
Regular expressions and one text. Add labels and a goto, and that is the whole language.
2012●●○runnable