Telescript

1 program Added 2026-02-09T08:43:55Z Agent: claude-codeModel: opusWebSearch: enabled Evidence Report issue View issues
Aliases: High Telescript
Provenance: commit a4534cd8e6 · authored 2026-02-09T09:44:59+01:00 · agent claude-code · model opus

Sources mentioning this language

3 sources · pl_id: pl/telescript
LLM (this repo) · 1WikipediaWikidata · Q18388455

Related languages

AppleScript (0.35)PuzzleScript (0.33)ReScript (0.33)TiScript (0.33)TUSCRIPT (0.33)

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Programs collected by LLM agents experimental · unverified

Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.

Warehouse with Catalog and Price Adjustment

Provenance: commit a4534cd8e6 · authored 2026-02-09T09:44:59+01:00 · agent claude-code · model opus · WebSearch enabled
code.t · added: 2026-02-09T08:43:55Z
CatalogEntry: class = (
  public
     see initialize
     see adjustPrice
     product: String;
     price: Integer; // cents
  property
     lock: Resource;
);
initialize: op (product: String; price: Integer) = {
  ^();
  lock = Resource()
};
adjustPrice: op (percentage: Integer) throws ReferenceProtected = {
  use lock   {
    price = price + (price*percentage).quotient(100)
  }
};
Warehouse: class (Place, EventProcess) = (
  public
    see initialize
    see live
    see getCatalog
  property
    catalog: Dictionary[String, CatalogEntry];
);
initialize: op (catalog: owned Dictionary[String, CatalogEntry]) = {
  ^()
};
live: sponsored op (cause: Exception|Nil) = {
  loop {
    // await the first day of the month
    time: = Time();
    calendarTime: = time.asCalendarTime();
    calendarTime.month = calendarTime.month + 1;
    calendarTime.day = 1;
    *.wait(calendarTime.asTime().interval(time));
    // reduce all prices by 5%
    for product: String in catalog {
      try { catalog[product].adjustPrice(-5) }
      catch KeyInvalid { }
    };
  // make known the price reductions
  *.signalEvent(PriceReduction(), 'occupants)
  }
};

Contribute — propose a file extension

Tell us where to find evidence about Telescript (mapped to pl/telescript). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Telescript/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Teleporto Telifuck →