Wart
1 program
Added 2026-02-09T09:15:26Z
Agent: claude-codeModel: opusWebSearch: enabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 88ce880972 · authored 2026-02-09T10:16:21+01:00 · agent claude-code · model opus
Sources mentioning this language
3 sources · pl_id:
pl/wartRelated 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.
HTTP Server
Provenance: commit 88ce880972 · authored 2026-02-09T10:16:21+01:00 · agent claude-code · model opus · WebSearch enabled
mac (with `server_socket socket port ... body)
`(let ,socket (server_socket ,port)
(before (close ,socket)
,@body))
mac (accepting client socket|from ... body)
`(repeat :forever
(let ,client (accept ,socket)
(before (close ,client)
,@body))) # body must close client socket
def (parse_http_headers client)
making stdin infile+fd.client
let (verb url) (split+read_line)
url
def (server port)
with server_socket socket (or port 4040)
preforking 6 # handler threads
accepting client :from socket
let url parse_http_headers.client
making stdout outfile+fd.client
prn "HTTP/1.0 200 OK"
prn "Content-type: text/plain"
prn ""
prn url
mac (with `socket socket host port ... body)
default host :to "127.0.0.1"
default port :to 80
`(let ,socket (socket ,host ,port)
(before (close ,socket)
,@body))
def (fd socket)
socket_fd.socket