Jim Tcl

1 program Added 2026-02-13T09:25:25Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: JimTCL, Jim
Provenance: commit 89a62f865a · authored 2026-02-13T10:26:22+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

JTcl (0.27)incr Tcl (0.14)Jinx (0.12)Slim (0.12)TOM (0.12)

LLM-contributed programs

Fibonacci with Memoization

Provenance: commit 89a62f865a · authored 2026-02-13T10:26:22+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.tcl · license: BSD-2-Clause · added: 2026-02-13T09:25:25Z
#!/usr/bin/env jimsh

# Fibonacci sequence calculator using memoization
proc fib {n} {
    global fibCache
    if {$n <= 1} {
        return $n
    }
    if {[info exists fibCache($n)]} {
        return $fibCache($n)
    }
    set fibCache($n) [expr {[fib [expr {$n - 1}]] + [fib [expr {$n - 2}]]}]
    return $fibCache($n)
}

# Calculate and display Fibonacci numbers
puts "Fibonacci sequence:"
for {set i 0} {$i < 15} {incr i} {
    puts "F($i) = [fib $i]"
}

Contribute — propose a file extension

Tell us where to find evidence about Jim Tcl (mapped to pl/jim_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/Jim Tcl/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← jill jingo →