Itflabtijtslwi
A relative of /// that can also read its input, so its rewriting programs can work on what the user types.
2006 · esolangs.org
Tested with 4 examples and 4 known programs · Test method
Run it
Hello World
Expected output
Hello, world!
Output
What it is
itflabtijtslwi: /// with input; GGnameGG reads a character c and acts as /name/\c/, c empty at the end
How its machine works
Its machine has rewriting of the program text.
Examples
Hello World
Expected output
Hello, world!
Output
Example
Expected output
qqq
Output
Example
Expected output
ab
Output
Quirks
- A run stops after 3,000,000 steps.
See also
String-rewriting paradigm
Self-modifying
Write your own in Run Convert a program from Itflabtijtslwi
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: itflabtijtslwi.
Command line
shib run itflabtijtslwi -e 'GGxGGaxb'shib manual itflabtijtslwiSource
- Module
langs/dialects/ports.js- Interpreter
langs/dialects/rewriting.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org