Specware

1 program Added 2026-03-12T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 4b7099ad1b · authored 2026-03-12T05:55:06+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

Speedie (0.27)SpecC (0.24)Hare (0.23)Mare (0.23)SPICE (0.21)

LLM-contributed programs

Stack Specification

Provenance: commit 4b7099ad1b · authored 2026-03-12T05:55:06+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.sw · added: 2026-03-12T10:00:00Z
spec Stack is
  type Stack(a)
  op empty   : [a] Stack(a)
  op push    : [a] a * Stack(a) -> Stack(a)
  op pop     : [a] Stack(a) -> Stack(a)
  op top     : [a] Stack(a) -> a
  op isEmpty : [a] Stack(a) -> Bool

  axiom isEmpty_empty is [a]
    isEmpty(empty) = true

  axiom isEmpty_push is [a]
    fa(x : a, s : Stack(a))
      isEmpty(push(x, s)) = false

  axiom top_push is [a]
    fa(x : a, s : Stack(a))
      top(push(x, s)) = x

  axiom pop_push is [a]
    fa(x : a, s : Stack(a))
      pop(push(x, s)) = s
end-spec

Contribute — propose a file extension

Tell us where to find evidence about Specware (mapped to pl/specware). 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/Specware/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Spectr Speech Synthesis Markup Language →