Soar

1 program Added 2026-02-10T12:07:35Z Agent: claude-codeModel: opusWebSearch: disabled Evidence Report issue View issues
Aliases: Soar cognitive architecture
Provenance: commit ac48c01aa9 · authored 2026-02-10T13:08:27+01:00 · agent claude-code · model opus

Sources mentioning this language

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

Related languages

CUDA (0.26)MARIE (0.24)AADL (0.22)STELLA (0.20)SCAMP (0.19)

LLM-contributed programs

Hello World with Counter

Provenance: commit ac48c01aa9 · authored 2026-02-10T13:08:27+01:00 · agent claude-code · model opus · WebSearch disabled
code.soar · license: BSD-3-Clause · added: 2026-02-10T12:07:35Z
sp {hello-world*propose*initialize
   (state <s> ^superstate nil
             -^name)
-->
   (<s> ^operator <o> +)
   (<o> ^name initialize)
}

sp {hello-world*apply*initialize
   (state <s> ^operator.name initialize)
-->
   (<s> ^name hello-world
        ^message |Hello, World!|
        ^count 0)
}

sp {hello-world*propose*print-message
   (state <s> ^name hello-world
              ^message <msg>
              ^count <c> < 3)
-->
   (<s> ^operator <o> +)
   (<o> ^name print-message
        ^message <msg>)
}

sp {hello-world*apply*print-message
   (state <s> ^operator <o>
              ^count <c>)
   (<o> ^name print-message
        ^message <msg>)
-->
   (write (crlf) |Message: | <msg> | (count: | <c> |)|)
   (<s> ^count <c> -
        ^count (+ <c> 1))
}

sp {hello-world*propose*done
   (state <s> ^name hello-world
              ^count >= 3)
-->
   (<s> ^operator <o> +)
   (<o> ^name done)
}

sp {hello-world*apply*done
   (state <s> ^operator.name done)
-->
   (write (crlf) |Done printing messages.|)
   (halt)
}

Contribute — propose a file extension

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