Kermit

1 program Added 2025-11-12T09:25:26Z Model: google/gemini-2.5-proTemp: 0.4 Evidence Report issue View issues
Aliases: Kermit script language
Provenance: commit ffda60b729 · authored 2025-11-12T10:25:26+01:00 · model google/gemini-2.5-pro

Sources mentioning this language

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

Related languages

pgScript (0.46)KVIrc Script (0.44)GMSH (0.38)Eidos (0.37)JSL (0.36)

LLM-contributed programs

Interactive FTP Client in Kermit Script

Provenance: commit ffda60b729 · authored 2025-11-12T10:25:26+01:00 · model google/gemini-2.5-pro · Temp 0.4
code.ksc · license: Kermit License (BSD-like) · added: 2025-11-12T09:25:26Z
proc do_ftp { } {
    local cmd x y z
    local passive on
    local verbose on
    local hash off
    local binary on
    local prompt on
    local status on
    local debug off
    local macdef off
    local proxy off
    local runique off
    local sunique off
    local glob on
    local mcase off
    local nmap off
    local ntrans off
    local helpstr

    if not defined \%a exit 1 "usage: ftp host"
    if not defined \v(version) exit 1 "This script requires C-Kermit 7.0"
    if \v(version) < 700000 exit 1 "This script requires C-Kermit 7.0"

    set network type tcp/ip
    set host \%a
    if defined \%b set port \%b
    if fail exit 1

    echo
    echo Trying \v(host)...
    if fail exit 1

    input 10 Connected
    if fail {
	echo Sorry, connection refused.
	exit 1
    }
    echo \v(input)
    input 30 220
    if fail {
	echo FTP server not responding.
	exit 1
    }
    echo \v(input)

    while true {
	if \m(prompt) {
	    ask cmd ftp>
	} else {
	    input 10000000
	    let cmd \v(input)
	}
	if fail break
	if not defined cmd continue
	xcmd \m(cmd)
    }
    hangup
    exit 0
}

Contribute — propose a file extension

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