;;;; 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") (:file "src/xml/resource-c14n")))
+
(asdf:defsystem "topic-maps"
:description "Independent CTM test foundation; no parsing or deserialization"
:version "0.0.0"
(uiop:symbol-call :topic-maps.tests :run-tests)))
(asdf:defsystem "topic-maps/tmdm"
- :description "Topics, Names, Variants, Occurrences, Associations and Roles with same-map merging"
- :version "0.14.0" :license "MIT" :serial t
+ :description "Topics, Names, Variants, Occurrences, Associations and Roles with same-map merging and source-preserving content import"
+ :version "0.16.1" :license "MIT" :serial t
:components ((:file "src/tmdm/package") (:file "src/tmdm/integers") (:file "src/tmdm/decimals") (:file "src/tmdm/dates") (:file "src/tmdm/datetimes") (:file "src/tmdm/items")
- (:file "src/tmdm/merging") (:file "src/tmdm/occurrences") (:file "src/tmdm/variants") (:file "src/tmdm/associations")))
+ (:file "src/tmdm/core-subjects") (:file "src/tmdm/item-identifiers") (:file "src/tmdm/reification") (:file "src/tmdm/merging") (:file "src/tmdm/occurrences") (:file "src/tmdm/variants") (:file "src/tmdm/associations") (:file "src/tmdm/import")))
(asdf:defsystem "topic-maps/ctm"
- :description "CTM identity/names/variants/associations and supported literal occurrences"
- :version "0.14.0" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
+ :description "CTM recursive Topic references, Wildcards, names/variants/associations and supported literals"
+ :version "0.16.1" :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")))
+ (:file "src/ctm/lexer") (:file "src/ctm/reader") (:file "src/ctm/templates") (:file "src/ctm/resources")))
(asdf:defsystem "topic-maps/ctm/tests"
:description "Slice 1 semantic tests and explicit imported rejection contract"
(asdf:defsystem "topic-maps/cxtm"
:description "Pure CXTM for the supported TMDM subset; ISO/IEC 13250-4:2009"
- :version "0.14.0" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
+ :version "0.16.1" :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")))
:perform (asdf:test-op (operation component)
(declare (ignore operation component))
(uiop:symbol-call :topic-maps.variant.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/reference-tests"
+ :description "Wildcard environment, recursive Embedded Topics and canonical Topic references"
+ :depends-on ("topic-maps/ctm/variant-tests") :serial t
+ :components ((:file "tests/ctm-references"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.reference.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/tmdm/identifier-tests"
+ :description "General Item Identifiers, global uniqueness, merges and manual XTM2 baseline comparisons"
+ :depends-on ("topic-maps/ctm/reference-tests") :serial t
+ :components ((:file "tests/item-identifiers"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.identifier.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/tmdm/reification-tests"
+ :description "Same-map Reification, canonical references, atomic cascades and original CTM contracts"
+ :depends-on ("topic-maps/tmdm/identifier-tests") :serial t
+ :components ((:file "tests/reification"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.reification.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/association-arity-tests"
+ :description "Unbounded CTM Role declarations, canonical merges and original CXTM contract"
+ :depends-on ("topic-maps/tmdm/reification-tests") :serial t
+ :components ((:file "tests/ctm-association-arity"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.arity.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/type-relationship-tests"
+ :description "CTM isa/ako, Core Subject consistency and atomic identity cascades"
+ :depends-on ("topic-maps/ctm/association-arity-tests") :serial t
+ :components ((:file "tests/ctm-type-relationships"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.relationship.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/template-tests"
+ :description "CTM Templates, contextual argument binding and original conformance contracts"
+ :depends-on ("topic-maps/ctm/type-relationship-tests") :serial t
+ :components ((:file "tests/ctm-templates"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.template.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/tmdm/import-tests"
+ :description "Source-preserving Map content import, identity cascades and atomic conflicts"
+ :depends-on ("topic-maps/ctm/template-tests") :serial t
+ :components ((:file "tests/map-import"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.import.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/mergemap-tests"
+ :description "Explicit resource resolver, CTM Mergemap isolation and original contracts"
+ :depends-on ("topic-maps/tmdm/import-tests") :serial t
+ :components ((:file "tests/ctm-mergemap"))
+ :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 and basic Names 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 "XTM identity/Name/Scope/Item-Identity/Variant and Occurrence checks with registered original contracts and cause-qualified negative originals"
+ :depends-on ("topic-maps/xtm" "topic-maps/cxtm" "topic-maps") :serial t
+ :components ((:file "tests/xtm-identity") (:file "tests/xtm-negative-originals") (:file "tests/xtm-names") (:file "tests/xtm-name-scopes") (:file "tests/xtm-name-item-identities") (:file "tests/xtm-variants") (:file "tests/xtm-variant-resourcerefs") (:file "tests/xtm-variant-uri-data") (:file "tests/xtm-variant-item-identities") (:file "tests/xtm-map-reification") (:file "tests/xtm-name-reification") (:file "tests/xtm-name-reification-originals") (:file "tests/xtm-variant-reification") (:file "tests/xtm-resource-datatypes") (:file "tests/xtm-mergemap") (:file "tests/xtm-occurrences") (:file "tests/xtm-mergemap-originals") (:file "tests/xtm-associations") (:file "tests/xtm-item-identities") (:file "tests/xtm-occurrence-reifier-native") (:file "tests/xtm-occurrence-reification") (:file "tests/xtm-association-reifier-native") (:file "tests/xtm-association-reification") (:file "tests/xtm-role-reifier-native") (:file "tests/xtm-role-reification") (:file "tests/xml-c14n-preflight") (:file "tests/xml-resource-c14n") (:file "tests/xtm-anytype"))
+ :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 "Controlled CTM/XTM imports and direct reader semantic equivalence; original contracts remain separate"
+ :depends-on ("topic-maps/ctm/xtm" "topic-maps/ctm/include-tests")
+ :components ((:file "tests/ctm-xtm-mergemap") (:file "tests/ctm-xtm-equivalence") (:file "tests/ctm-xtm-anytype-equivalence"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.xtm-mergemap.tests :run-tests)
+ (uiop:symbol-call :topic-maps.equivalence.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)))
+
+(asdf:defsystem "topic-maps/ctm/prolog-tests"
+ :description "Slice 20C: UTF-8 encoding selection, version prolog and three intended original rejections"
+ :depends-on ("topic-maps/ctm/registered-negative-tests")
+ :components ((:file "tests/ctm-prolog"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.prolog.tests :run-tests)))
+
+
+(asdf:defsystem "topic-maps/ctm/empty2-tests"
+ :description "Slice 20E: original empty2 prolog contract in the existing registration harness"
+ :depends-on ("topic-maps/ctm/prolog-tests")
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.registered-original.tests :run-empty2-tests)))
+
+
+(asdf:defsystem "topic-maps/ctm/ctm-integer-tests"
+ :description "Slice 20F: CTM '*' literal, original CXTM contract and existing shared literal paths"
+ :depends-on ("topic-maps/ctm/empty2-tests")
+ :components ((:file "tests/ctm-integer-literal"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.ctm-integer.tests :run-tests)))
+
+
+(asdf:defsystem "topic-maps/ctm/triple-string-tests"
+ :description "Slice 20G: four original Triple String contracts and existing string value paths"
+ :depends-on ("topic-maps/ctm/ctm-integer-tests")
+ :components ((:file "tests/ctm-triple-strings"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.triple.tests :run-tests)))
+
+
+(asdf:defsystem "topic-maps/ctm/encoding-tests"
+ :description "Slice 20H: qualified ISO-8859-5 decoding, IANA aliases and original CXTM contract"
+ :depends-on ("topic-maps/ctm/triple-string-tests")
+ :components ((:file "tests/ctm-iso-8859-5"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.encoding.tests :run-tests)))
+
+
+(asdf:defsystem "topic-maps/project-work-example"
+ :description "Optional Slice 22U CTM/REPL example; no new productive model API"
+ :depends-on ("topic-maps/ctm" "topic-maps/cxtm")
+ :components ((:file "examples/project-work")))
+
+(asdf:defsystem "topic-maps/project-work-tests"
+ :description "Execute and verify the project-work example using native public Items"
+ :depends-on ("topic-maps/project-work-example" "topic-maps/tests")
+ :components ((:file "tests/project-work"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.project-work.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/tmdm/normalization-index-tests"
+ :description "Which Topics merge next: outcomes recorded at b2eecffa, canonical representatives, retained handles, invalidation and reader scale"
+ :depends-on ("topic-maps/tmdm/import-tests") :serial t
+ :components ((:file "tests/normalization-index"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.normalization-index.tests :run-tests)))