Plait

1 program Added 2026-02-10T18:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit ef8496e778 · authored 2026-02-10T13:26:12+01:00 · agent claude-code · model sonnet

Sources mentioning this language

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

Related languages

PLANIT (0.50)Plaid (0.40)PL/T (0.30)PLAN (0.30)PlayScript (0.27)

LLM-contributed programs

Factorial Function with Tests

Provenance: commit ef8496e778 · authored 2026-02-10T13:26:12+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.plait · added: 2026-02-10T18:30:00Z
#lang plait

(define (factorial n)
  (if (<= n 1)
      1
      (* n (factorial (- n 1)))))

(test (factorial 0) 1)
(test (factorial 1) 1)
(test (factorial 5) 120)
(test (factorial 10) 3628800)

Contribute — propose a file extension

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