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-tclWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: object-oriented · functional · imperative · event-driven |
|---|---|
| Typing | dynamic typing, everything can be treated as a string |
| Designed by | Michael McLennan |
| First appeared | 1993 |
| Influenced by | Tcl · C++ |
| License | BSD-style |
| Homepage | https://sourceforge.net/projects/incrtcl/ |
Related languages
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
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.)