Kevo

1 program Added 2026-03-12T12:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 3f7c191a3c · authored 2026-03-12T05:58:39+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

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

Related languages

Kojo (0.20)Koto (0.20)Kempe (0.18)Ketos (0.18)Kernel (0.17)

LLM-contributed programs

Counter Prototype

Provenance: commit 3f7c191a3c · authored 2026-03-12T05:58:39+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.kevo · added: 2026-03-12T12:00:00Z
"Kevo prototype-based object example"
"A. Taivalsaari, Nokia Research Center, 1992"
"Kevo: a prototype-based language"

"Create a counter prototype by copying the root Object"
counter := Object copy.
counter addIV: #count withValue: 0.
counter addMethod: #increment body: [count := count + 1].
counter addMethod: #decrement body: [count := count - 1].
counter addMethod: #reset     body: [count := 0].
counter addMethod: #value     body: [^count].

"Increment the counter a few times"
counter increment.
counter increment.
counter increment.
counter decrement.
Transcript showNl: counter value printString.

"Create a derived counter starting at 10"
bigCounter := counter copy.
bigCounter reset.
bigCounter count: 10.
bigCounter increment.
bigCounter increment.
Transcript showNl: bigCounter value printString.

Contribute — propose a file extension

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