We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

SlowLang

From Esolang
Jump to navigation Jump to search

SlowLang (also TortoiseLang) is a joke language created by Sebin Mathew and Abin Zachariah Abraham, students at the College of Engineering Chengannur, Kerala, India. It won first place at the TinkerHub Useless Projects 2.0 hackathon in August 2025.

SlowLang is a Python-like language distributed with a Tkinter IDE and a browser demo. Its defining feature is enforced slowness: the environment measures typing speed and punishes fast typing with sarcastic errors, an angry ASCII turtle, and haiku-formatted complaints. The desktop implementation and the browser demo share the same state machine so behaviour is identical in both.

Language overview

A SlowLang program is an ordinary Python program stored in a .slow file. The reference interpreter executes the source with Python's exec, so the full Python instruction set is available. On top of that, the language adds two mandatory protocols:

  • Politeness protocol: the checker walks the source in windows of randomly chosen length (3–7 lines). Every window must contain a call to the builtin please(). If any window lacks it, the program is rejected as "too rude" and does not run.
  • Laziness: each run has a 1-in-10 chance of being refused outright — the interpreter "is feeling lazy".
  • File jail: only .slow or .py files inside the current working directory are read.

Commands

SlowLang inherits Python's instruction set and adds one required builtin:

Command Effect
please() Prints 🙏 The turtle thanks you for your politeness. Must appear within every politeness window (see above) or the run is refused. Spacing inside the call is ignored by the checker.

Punishment protocol

The IDE and browser demo enforce identical behaviour rules:

Offence Punishment
Typing above the 30 WPM cap Error thrown, angry ASCII turtle shown, editor locked for 2 seconds
Run request (any) 10% chance the interpreter lazily refuses to run
Missing please() in a window Program rejected: "Your code is too rude!"
Any error Message rendered as a haiku or sarcastic praise, never a stack trace

Examples

Hello, world! — with enough please() calls to survive any window stride:

please()
print("Hello, world!")
please()

A loop showing that normal Python constructs still work, with a safety margin of one please() every three lines:

please()
total = 0
for i in range(10):
    total += i
please()
print("Sum:", total)
please()

Computational class

SlowLang is Turing complete: the runtime executes arbitrary Python source, including loops, functions, and the standard library subset visible to exec.

External resources