XOTcl
1 program
Added 2026-02-06T13:59:47Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Extended Object Tcl
Provenance: commit 7acabe8640 · authored 2026-02-06T15:00:36+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/xotclWikipedia 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 | Gustaf Neumann · Uwe Zdun |
| First appeared | 2000 |
| Influenced by | Tcl · OTcl |
| Homepage | http://media.wu-wien.ac.at/ |
Related languages
LLM-contributed programs
Counter Class Example
Provenance: commit 7acabe8640 · authored 2026-02-06T15:00:36+01:00 · agent claude-code · model sonnet · WebSearch disabled
package require XOTcl
namespace import -force xotcl::*
Class Counter
Counter instproc init {start} {
my instvar count
set count $start
}
Counter instproc increment {} {
my instvar count
incr count
}
Counter instproc value {} {
my instvar count
return $count
}
Counter c1 -start 0
c1 increment
c1 increment
puts "Counter value: [c1 value]"
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.)