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/wart
LLM (this repo) · 1PldbRosettacode

Related languages

Tart (0.33)KiXtart (0.25)Wake (0.20)Wasp (0.20)Wanda (0.18)

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
code.wart · added: 2026-02-09T09:15:26Z
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

Contribute — propose a file extension

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