]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - topic-maps.asd
Add string and URI Occurrences with merging and CXTM validation
[topic-maps.git] / topic-maps.asd
index 798ee7588b7b2ea2983ea20444a62a6504ee549c..28a6295b7e9497694fe8ff185fa1e0b13afc6980 100644 (file)
              (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")))
+  :description "Topics, Names, Occurrences, Associations and Roles with same-map merging"
+  :version "0.5.0" :license "MIT" :serial t
+  :components ((:file "src/tmdm/package") (:file "src/tmdm/items")
+               (:file "src/tmdm/merging") (:file "src/tmdm/occurrences") (:file "src/tmdm/associations")))
 
 (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
+  :description "CTM identity, names, string/IRI occurrences and unary/binary associations"
+  :version "0.5.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")))
   :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)))
+
+(asdf:defsystem "topic-maps/cxtm"
+  :description "Pure CXTM for the supported TMDM subset; ISO/IEC 13250-4:2009"
+  :version "0.5.0" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
+  :components ((:file "src/cxtm/package") (:file "src/cxtm/nfc-data")
+               (:file "src/cxtm/unicode") (:file "src/cxtm/canonicalizer")))
+
+(asdf:defsystem "topic-maps/cxtm/tests"
+  :description "Real pinned CXTM comparisons and canonicalization regression tests"
+  :depends-on ("topic-maps/cxtm" "topic-maps/ctm/association-tests") :serial t
+  :components ((:file "tests/cxtm"))
+  :perform (asdf:test-op (operation component)
+             (declare (ignore operation component))
+             (uiop:symbol-call :topic-maps.ctm.tests :run-cxtm-tests)))
+
+
+(asdf:defsystem "topic-maps/ctm/occurrence-tests"
+  :description "Occurrence semantics, canonical merge handles and four original CXTM contracts"
+  :depends-on ("topic-maps/cxtm/tests") :serial t
+  :components ((:file "tests/ctm-occurrences"))
+  :perform (asdf:test-op (operation component)
+             (declare (ignore operation component))
+             (uiop:symbol-call :topic-maps.ctm.tests :run-occurrence-tests)))