1 ;;;; The foundation remains independent; reader/model are opt-in secondary systems.
2 (asdf:defsystem "topic-maps"
3 :description "Independent CTM test foundation; no parsing or deserialization"
8 :components ((:file "src/package")
9 (:file "src/filesystem")
12 :in-order-to ((asdf:test-op (asdf:test-op "topic-maps/tests"))))
14 (asdf:defsystem "topic-maps/tests"
15 :description "Infrastructure tests only; imported CTM cases remain NOT-RUN"
16 :depends-on ("topic-maps")
18 :components ((:file "tests/package") (:file "tests/foundation"))
19 :perform (asdf:test-op (operation component)
20 (declare (ignore operation component))
21 (uiop:symbol-call :topic-maps.tests :run-tests)))
23 (asdf:defsystem "topic-maps/tmdm"
24 :description "Topic identity, same-map merging and unscoped Topic Name items"
25 :version "0.2.0" :license "MIT" :serial t
26 :components ((:file "src/tmdm/package") (:file "src/tmdm/items") (:file "src/tmdm/merging")))
28 (asdf:defsystem "topic-maps/ctm"
29 :description "CTM identity declarations/tails and default names; no canonicalizer"
30 :version "0.2.0" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
31 :components ((:file "src/ctm/package") (:file "src/ctm/conditions")
32 (:file "src/ctm/unicode") (:file "src/ctm/iri")
33 (:file "src/ctm/lexer") (:file "src/ctm/reader")))
35 (asdf:defsystem "topic-maps/ctm/tests"
36 :description "Slice 1 semantic tests and explicit imported rejection contract"
37 :depends-on ("topic-maps/ctm" "topic-maps/tests") :serial t
38 :components ((:file "tests/ctm-package") (:file "tests/ctm-identity")
39 (:file "tests/ctm-report"))
40 :perform (asdf:test-op (operation component)
41 (declare (ignore operation component))
42 (uiop:symbol-call :topic-maps.ctm.tests :run-tests)))
44 (asdf:defsystem "topic-maps/ctm/merging-tests"
45 :description "Same-map Topic merging and separate pinned baseline property evidence"
46 :depends-on ("topic-maps/ctm/tests") :serial t
47 :components ((:file "tests/ctm-merging") (:file "tests/merge-graphs"))
48 :perform (asdf:test-op (operation component)
49 (declare (ignore operation component))
50 (uiop:symbol-call :topic-maps.ctm.tests :run-merging-tests)))