Itcl

1 program Added 2026-03-12T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: [incr Tcl], Incr Tcl, iTcl
Provenance: commit 31cb486120 · authored 2026-03-12T23:21:49+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

3 sources · pl_id: pl/incr-tcl
LLM (this repo) · 1WikipediaWikidata · Q285756

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsmulti-paradigm: object-oriented · functional · imperative · event-driven
Typingdynamic typing, everything can be treated as a string
Designed byMichael McLennan
First appeared1993
Influenced byTcl · C++
LicenseBSD-style
Homepagehttps://sourceforge.net/projects/incrtcl/

Related languages

incr Tcl (0.68)JTcl (0.13)Informix 4GL (0.12)IXML (0.12)InfluxQL (0.12)

LLM-contributed programs

Counter Class

Provenance: commit 31cb486120 · authored 2026-03-12T23:21:49+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.itcl · added: 2026-03-12T10:00:00Z
package require Itcl

itcl::class Counter {
    private variable count 0

    constructor {{start 0}} {
        set count $start
    }

    method increment {{by 1}} {
        incr count $by
    }

    method decrement {{by 1}} {
        incr count -$by
    }

    method reset {} {
        set count 0
    }

    method value {} {
        return $count
    }
}

set c [Counter #auto]
puts "Initial value: [$c value]"
$c increment
$c increment
$c increment 5
puts "After increments: [$c value]"
$c decrement 2
puts "After decrement: [$c value]"
$c reset
puts "After reset: [$c value]"
itcl::delete object $c

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.)

Contribute — propose a file extension

Tell us where to find evidence about Itcl (mapped to pl/incr-tcl). 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/Itcl/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← It's not a mistake it's an esolang ITERATE →