kOS

1 program Added 2026-02-11T10:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Kerbal Operating System
Provenance: commit e7d6a9a75b · authored 2026-02-11T12:38:52+01:00 · agent claude-code · model sonnet

Sources mentioning this language

2 sources · pl_id: pl/kerboscript
LLM (this repo) · 1Linguist

Extensions claimed by this language

1 claim. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.kslinguistprimary185.7K files

Related languages

JX (0.46)GAMS (0.21)Klerer-May System (0.20)Markov algorithm (0.20)GOLD (0.20)

LLM-contributed programs

Launch Autopilot

Provenance: commit e7d6a9a75b · authored 2026-02-11T12:38:52+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.ks · added: 2026-02-11T10:30:00Z
// Simple launch autopilot for Kerbal Space Program
// Launches a rocket to orbit

CLEARSCREEN.
SET TARGET_ALTITUDE TO 80000.
SET TARGET_APOAPSIS TO 100000.

PRINT "Launch sequence initiated".
PRINT "Target altitude: " + TARGET_ALTITUDE.

// Stage countdown
FROM {local countdown is 5.} UNTIL countdown = 0 STEP {SET countdown to countdown - 1.} DO {
    PRINT "T-" + countdown.
    WAIT 1.
}

// Launch
PRINT "Liftoff!".
STAGE.
LOCK THROTTLE TO 1.0.
LOCK STEERING TO HEADING(90, 90).

// Ascent phase
WAIT UNTIL SHIP:ALTITUDE > 100.
PRINT "Beginning gravity turn".

LOCK STEERING TO HEADING(90, 90 - (SHIP:ALTITUDE / TARGET_ALTITUDE * 45)).

// Stage when out of fuel
WHEN STAGE:SOLIDFUEL < 0.1 THEN {
    PRINT "Staging".
    STAGE.
    PRESERVE.
}

// Coast to apoapsis
WAIT UNTIL SHIP:APOAPSIS > TARGET_APOAPSIS.
LOCK THROTTLE TO 0.0.
PRINT "Target apoapsis reached".
PRINT "Mission complete".

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 kOS (mapped to pl/kerboscript). 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/kOS/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← KornShell Kotlin →