Schelog

1 program Added 2026-03-10T12:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 6c9de2fbd2 · authored 2026-03-10T11:15:40+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

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

Related languages

s7 (0.25)Scheme-79 (0.25)SCM (0.25)Schematron (0.24)Erlog (0.23)

LLM-contributed programs

Family Relations

Provenance: commit 6c9de2fbd2 · authored 2026-03-10T11:15:40+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.scm · added: 2026-03-10T12:00:00Z
#lang racket
(require schelog)

; Family facts
(define %parent
  (extend-relation (a b)
    (fact () 'tom 'bob)
    (fact () 'tom 'liz)
    (fact () 'bob 'ann)
    (fact () 'bob 'pat)))

; Grandparent rule derived from parent
(define %grandparent
  (extend-relation (a b)
    (rule (a b) (c)
      (%parent a c)
      (%parent c b))))

; Query: who are tom's grandchildren?
(define grandchildren
  (run* (q)
    (%grandparent 'tom q)))

(displayln "Tom's grandchildren:")
(for-each displayln grandchildren)

Contribute — propose a file extension

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