SXML

1 program Added 2026-03-06T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: S-expression XML, SXML notation
Provenance: commit 64d63ccdb9 · authored 2026-03-06T11:49:47+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

4 sources · pl_id: pl/sxml
LLM (this repo) · 1PldbWikipediaWikidata · Q7395238

Extensions claimed by this language

2 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.scmwikipediaproposed1.7M files
.sxmlwikipediaproposed4.5K files

Related languages

Z notation (0.24)PMX (0.23)Notation3 (0.22)ShEx (0.21)BON (0.21)

LLM-contributed programs

SXML HTML Document Example

Provenance: commit 64d63ccdb9 · authored 2026-03-06T11:49:47+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.scm · added: 2026-03-06T10:00:00Z
;; SXML representation of an HTML document
;; Source: http://okmij.org/ftp/Scheme/SXML.html

(define doc
  '(*TOP*
    (html
      (head
        (title "My Document"))
      (body
        (p "Hello, World!")
        (p (@ (class "note")) "This is SXML")))))

;; SXML is just a Scheme data structure
;; XML: <html><head><title>My Document</title></head>
;;      <body><p>Hello, World!</p>
;;            <p class="note">This is SXML</p></body></html>

;; Accessing parts of the document using standard Scheme
(display (car doc))               ; *TOP*
(newline)
(display (cadr doc))              ; (html ...)
(newline)
(display (car (cadr doc)))        ; html
(newline)

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 SXML (mapped to pl/sxml). 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/SXML/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← swym sxpath →