-;;;; 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 "Minimal Topic Map, Topic and unscoped Topic Name information items"
+ :version "0.1.0" :license "MIT" :serial t
+ :components ((:file "src/tmdm/package") (:file "src/tmdm/items")))
+
+(asdf:defsystem "topic-maps/ctm"
+ :description "Slice 1 CTM identity and default-name reader; no canonicalizer"
+ :version "0.1.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)))