QA4

1 program Added 2026-03-13T05:57:36Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: QA-4
Provenance: commit d2a3873875 · authored 2026-03-13T06:58:08+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/qa4
LLM (this repo) · 1Pldb

Related languages

QA-4 (0.67)QB64 (0.15)Qalb (0.12)QO (0.08)Qore (0.07)

LLM-contributed programs

Blocks World Planning

Provenance: commit d2a3873875 · authored 2026-03-13T06:58:08+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.qa4 · added: 2026-03-13T05:57:36Z
;; QA4 Blocks World Example
;; Based on: "QA4: A Procedural Calculus for Intuitive Reasoning"
;; Rulifson, Derksen, Waldinger, SRI Technical Note 73 (1973)

; Define the initial state of blocks world
(ASSERT (ON A TABLE))
(ASSERT (ON B TABLE))
(ASSERT (ON C A))
(ASSERT (CLEAR C))
(ASSERT (CLEAR B))

; Operator: Put block X on top of block Y
(CONSEQUENT PUTON (X Y)
  (PREREQUISITES
    ((CLEAR X))
    ((ACHIEVE (CLEAR Y))))
  (DELETIONS
    ((ON X (? W)))
    ((CLEAR Y)))
  (ADDITIONS
    ((ON X Y))
    ((CLEAR (? W)))))

; Goal: Achieve a specific configuration
(GOAL (ACHIEVE (ON A B)))
(GOAL (ACHIEVE (ON B C)))

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 QA4 (mapped to pl/qa4). 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/QA4/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← QA-4 Qalb →