← Back to list

pavlov
by thomascothran
Behavioral Programming for Clojure
⭐ 44🍴 1📅 Jan 22, 2026
SKILL.md
name: pavlov description: Discover and learn the Pavlov behavioral programming library for Clojure/CLJS. Use when you need Pavlov concepts, bthreads/bprograms, or to locate docs, tests, and docstrings on the classpath.
Pavlov discovery
Pavlov is a Clojure and ClojureScript behavioral programming library inspired by David Harel et al.’s paper "Behavioral Programming". It adapts the original behavioral programming model by running bprograms with a step function.
Choose your path
- Bare-bones API details or quick usage cues: start with docstrings.
- Principles and conceptual background: read the documentation resources. What is behavioral programming? Why is it used?
- Concrete examples: browse tests (see
references/access-test-examples.md).
Docstrings (fastest)
- Use
clojure.repl/docin the Clojure REPL on the core namespaces and functions first.
(require '[clojure.repl :refer [doc source find-doc apropos]])
(doc 'tech.thomascothran.pavlov.bthread)
(doc 'tech.thomascothran.pavlov.bprogram.ephemeral)
(doc 'tech.thomascothran.pavlov.bthread/bids)
(doc 'tech.thomascothran.pavlov.bprogram.ephemeral/execute!)
Documentation resources (background)
- Use
clojure.java.ioandslurpwithio/resource. - All docs live under
tech/thomascothran/pavlov-skills/doc/.
(require '[clojure.java.io :as io])
(slurp (io/resource "tech/thomascothran/pavlov-skills/doc/README.md"))
(slurp (io/resource "tech/thomascothran/pavlov-skills/doc/what-is-a-bthread.md"))
Test examples (concrete)
- Once you have a path, read tests with
io/resource+slurp.
(require '[clojure.java.io :as io])
(slurp (io/resource "tech/thomascothran/pavlov/bthread_test.cljc"))
(slurp (io/resource "tech/thomascothran/pavlov/bprogram/ephemeral_test.clj"))
For more examples, use references/access-test-examples.md (resource path ./references/access-test-examples.md) to list test sources on the classpath.
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon