Conformance

One corpus, matching behavior.

Nano Markup implementations are tested against a shared conformance corpus so Python, Go, JavaScript, TypeScript, Dart, and Java agree on valid documents, invalid documents, and writer output.

Before implementing, review the specification design and learn the format.

Coverage

What conformance checks

in

Valid inputs

Fixtures cover strings, mappings, sequences, nesting, comments, whitespace, Unicode, line endings, and empty values.

err

Invalid inputs

Error fixtures cover malformed indentation, forbidden characters, duplicate keys, invalid escapes, and syntax mistakes.

out

Writer output

Writer fixtures verify stable encoded output and cross-read behavior across implementations.

Source of truth

The specification repository contains the conformance fixtures, validation tools, and coverage notes used by the stable implementations.

Open conformance tests