Subleq

1 program Added 2026-02-10T15:32:27Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: SUBLEQ, OISC
Provenance: commit 1f47d368f3 · authored 2026-02-10T16:33:22+01:00 · agent claude-code · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/subleq
LLM (this repo) · 1PldbEsolang

Related languages

SubC (0.25)Subtext (0.15)Seq (0.13)nesC (0.11)UWSC (0.11)

LLM-contributed programs

Hello World (Hi)

Provenance: commit 1f47d368f3 · authored 2026-02-10T16:33:22+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.subleq · added: 2026-02-10T15:32:58Z
; Subleq "Hello World" program
; Outputs "H" (72) and "i" (105)
; Format: subleq a, b, c means: mem[b] = mem[b] - mem[a]; if mem[b] <= 0 goto c

; Output 'H' (ASCII 72)
Z, Z, 3       ; Clear Z
MINUS_72, Z, 6 ; Z = 72
Z, OUT, 9     ; Output 72 ('H')

; Output 'i' (ASCII 105)
Z, Z, 12      ; Clear Z
MINUS_105, Z, 15 ; Z = 105
Z, OUT, 18    ; Output 105 ('i')

; Halt
Z, Z, -1

; Data section
MINUS_72: -72
MINUS_105: -105
Z: 0
OUT: -1       ; Output port

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 Subleq (mapped to pl/subleq). 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/Subleq/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← subl sublime-editor →