]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - topic-maps.asd
feat(ctm): read associations and roles with merge-safe topic references
[topic-maps.git] / topic-maps.asd
index c2f9eab493c3dc6dbaca5059fc90150b93b693ff..8fbcab69f360dbf5df63aad26a00e1d5e7bfcd3c 100644 (file)
@@ -1,4 +1,4 @@
-;;;; Slice 0 defines a test foundation, not CTM/TMDM/CXTM implementations.
+;;;; The foundation remains independent; reader/model are opt-in secondary systems.
 (asdf:defsystem "topic-maps"
   :description "Independent CTM test foundation; no parsing or deserialization"
   :version "0.0.0"
   :perform (asdf:test-op (operation component)
              (declare (ignore operation component))
              (uiop:symbol-call :topic-maps.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/tmdm"
+  :description "Topics, Names, Associations and Roles with same-map merging"
+  :version "0.3.0" :license "MIT" :serial t
+  :components ((:file "src/tmdm/package") (:file "src/tmdm/items")
+               (:file "src/tmdm/merging") (:file "src/tmdm/associations")))
+
+(asdf:defsystem "topic-maps/ctm"
+  :description "CTM identity, names and unary/binary associations; no canonicalizer"
+  :version "0.3.0" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
+  :components ((:file "src/ctm/package") (:file "src/ctm/conditions")
+               (:file "src/ctm/unicode") (:file "src/ctm/iri")
+               (:file "src/ctm/lexer") (:file "src/ctm/reader")))
+
+(asdf:defsystem "topic-maps/ctm/tests"
+  :description "Slice 1 semantic tests and explicit imported rejection contract"
+  :depends-on ("topic-maps/ctm" "topic-maps/tests") :serial t
+  :components ((:file "tests/ctm-package") (:file "tests/ctm-identity")
+               (:file "tests/ctm-report"))
+  :perform (asdf:test-op (operation component)
+             (declare (ignore operation component))
+             (uiop:symbol-call :topic-maps.ctm.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/merging-tests"
+  :description "Same-map Topic merging and separate pinned baseline property evidence"
+  :depends-on ("topic-maps/ctm/tests") :serial t
+  :components ((:file "tests/ctm-merging") (:file "tests/merge-graphs"))
+  :perform (asdf:test-op (operation component)
+             (declare (ignore operation component))
+             (uiop:symbol-call :topic-maps.ctm.tests :run-merging-tests)))
+
+(asdf:defsystem "topic-maps/ctm/association-tests"
+  :description "Association/Role semantics, merge references and separate baseline evidence"
+  :depends-on ("topic-maps/ctm/merging-tests") :serial t
+  :components ((:file "tests/ctm-associations") (:file "tests/association-graphs")
+               (:file "tests/association-report"))
+  :perform (asdf:test-op (operation component)
+             (declare (ignore operation component))
+             (uiop:symbol-call :topic-maps.ctm.tests :run-association-tests)))