Root Swift package mirroring PureYAML's structure, rules, and verification gates. Includes the XML node model (Node, Element, Attribute, QualifiedName), a working emitter (Serializer) with escaping and pretty/compact options, and structural validation. The parser surface is stable; parse() raises notImplemented until the scanner lands, pinned by a test. - dependency-free, namespaced under PureXML - portability and style gates carried over (style, namespacing, forbidden patterns, swiftformat, swiftlint, linux, wasm, windows CI) - 11 tests passing |
||
|---|---|---|
| .. | ||
| code-style.md | ||
| commits.md | ||
| concurrency.md | ||
| cross-platform.md | ||
| dependency-injection.md | ||
| documentation.md | ||
| engineering.md | ||
| file-naming.md | ||
| folder-grouping.md | ||
| git-discipline.md | ||
| namespacing.md | ||
| package-architecture.md | ||
| package-structure.md | ||
| README.md | ||
| shared-protocols.md | ||
| systematic-debugging.md | ||
| testing-discipline.md | ||
| testing.md | ||
| verification.md | ||
PureXML Rules
Load these rules before changing code:
code-style.mdnamespacing.mdcross-platform.mdtesting.mdverification.mdcommits.md
Project-specific overrides:
- PureXML uses a root
Package.swift. - Sources live directly under
Sources. - Tests live in
Tests(test targetPureXMLTests). Package.swiftmust keepdependencies: [].- Public API must live under the
PureXMLnamespace tree. - The package must build on macOS, Linux, Windows, and WASI.
The broader rule files are retained for detailed guidance. When they include generic examples, apply the PureXML-specific overrides above.