;;;; The foundation remains independent; reader/model are opt-in secondary systems.
+(asdf:defsystem "topic-maps/xml"
+ :description "Pinned, patched CXML byte boundary with mandatory external-resource denial; no XTM"
+ :version "0.0.1" :license "MIT" :depends-on ("cxml") :serial t
+ :components ((:file "src/xml/package") (:file "src/xml/parser")))
+
(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.mergemap.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/include-tests"
+ :description "CTM Include, source-preserving Template transport and explicit original baseline discrepancies"
+ :depends-on ("topic-maps/ctm/mergemap-tests") :serial t
+ :components ((:file "tests/ctm-include"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.include.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/xtm"
+ :description "XTM 2.0 identity/instanceOf subset using the qualified XML byte boundary"
+ :version "0.19.1" :license "MIT" :depends-on ("topic-maps/tmdm" "topic-maps/xml") :serial t
+ :components ((:file "src/xtm/package") (:file "src/xtm/iri") (:file "src/xtm/reader"))
+ :in-order-to ((asdf:test-op (asdf:test-op "topic-maps/xtm/tests"))))
+
+(asdf:defsystem "topic-maps/xtm/tests"
+ :description "Separate XTM identity model checks and six original CXTM contracts"
+ :depends-on ("topic-maps/xtm" "topic-maps/cxtm" "topic-maps") :serial t
+ :components ((:file "tests/xtm-identity"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.xtm.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/xtm"
+ :description "Explicit XTM 2.0 notation adapter for controlled CTM Mergemap"
+ :version "0.19.2" :license "MIT" :depends-on ("topic-maps/ctm" "topic-maps/xtm")
+ :components ((:file "src/ctm/xtm")))
+
+(asdf:defsystem "topic-maps/ctm/xtm-tests"
+ :description "Actual XTM Mergemap imports, raw bytes, diagnostics and original baseline"
+ :depends-on ("topic-maps/ctm/xtm" "topic-maps/ctm/include-tests")
+ :components ((:file "tests/ctm-xtm-mergemap"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.xtm-mergemap.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/registered-original-tests"
+ :description "Slice 20A: register forty original contracts using the existing CTM/CXTM harness"
+ :depends-on ("topic-maps/ctm/include-tests")
+ :components ((:file "tests/ctm-registered-originals"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.registered-original.tests :run-tests)))
+
+
+(asdf:defsystem "topic-maps/ctm/registered-negative-tests"
+ :description "Slice 20B: intended syntax rejections of seven unchanged negative originals"
+ :depends-on ("topic-maps/ctm/registered-original-tests")
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.registered-original.tests :run-negative-tests)))