Battlestar
1 program
Added 2026-02-24T00:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit a8ba46d352 · authored 2026-02-24T13:41:25+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
3 sources · pl_id:
pl/battlestarRelated languages
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.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Life (16-bit x86 Demo)
Provenance: commit a8ba46d352 · authored 2026-02-24T13:41:25+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
// "Life"
// The original was written by "melezov" (http://256bytes.untergrund.net/demo/334)
fun main
al = 0x13 // set graphics mode (mode 13h)
// 320x200, 256 colors, one byte per pixel
int 10
stack -> sp // pop sp
stack -> b // pop bx
stack -> ds // pop ds
ds -> es // push ds, pop es
al = 62
ch = 0xFA
loopwrite // rep stosb
loop
di <<< 3 // rotate left 3
di -= 7 // subtraction
di ^= 2 // xor
al = readbyte di // read byte from memory
al += [di+321] // add value at [di+321] (pixel on the line below)
al /= 2
di -> stack
write // stosb
write
di += 0x13E
write
write
stack -> di
end // loops forever
end