Upstream software project

ocaml-yamlx

Pure OCaml YAML 1.2 parser with lossless comment-preserving AST

About ocaml-yamlx

Pure OCaml YAML 1.2 parser with lossless comment-preserving AST

This project links 2 native package records across 1 recorded operating-system release. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

Fedora 44: 2 package records. Catalog coverage diagram, not an application screenshot.ocaml-yamlx: recorded package coverageFedora 442 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
ocaml-yamlx
Publisher
Not authoritatively mapped
Native package records
2
Operating systems
fedora-44
License expression
AGPL-3.0-only
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

A pure-OCaml YAML 1.2 and 1.1 library with a lossless, comment-preserving AST. Features: - Full YAML 1.2 compliance — passes all 371 tests from the yaml-test-suite. - Pure OCaml — no C bindings, no external runtime dependencies. - Lossless AST — the parsed node tree preserves scalar styles (plain, 'single-quoted', "double-quoted", | literal, > folded), flow vs. block collection style, tags, anchors, and source positions. - Best-effort comment preservation — standalone (head) comments before a node, inline (line) comments after a value, and trailing (foot) comments after the last item of a block collection are attached to the nearest node and re-emitted by the printer. - Pretty-printer — `Nodes.to_yaml` serializes a node list back to a YAML string, preserving all of the above. - Plain-YAML printer — `Nodes.to_plain_yaml_exn` produces a restricted subset with no anchors, no aliases (expanded inline), no tags, no flow collections, and no complex mapping keys — the fragment of YAML that most people recognize on sight. - Typed-value resolver — `Values.of_yaml` applies the YAML 1.2 JSON schema and returns value list with `Null | Bool | Int | Float | String | Seq | Map` constructors. - Multi-document streams — both the node and value APIs handle streams containing more than one ----separated document. - Correct anchor scoping — anchors are document-local; an alias in document N cannot refer to an anchor defined in document N−1. - Structured errors — `Scan_error` and `Parse_error` carry a pos record with line, column, and byte offset. `catch_errors` wraps any of these into a `(_, string)` result with a human-readable message, optionally prefixed with a file name. - Command-line tool — the yamlx binary reads YAML from a file or stdin and prints it in one of several formats.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Fedora 44

  1. Package ocaml-yamlx

    44 (Fedora 44) (Unspecified): Pure OCaml YAML 1.2 parser with lossless comment-preserving AST

    0.3.0-1.fc44: aarch64 x86_64

    Source: ocaml-yamlx

  2. Package ocaml-yamlx-devel

    44 (Fedora 44) (Unspecified): Development files for ocaml-yamlx

    0.3.0-1.fc44: aarch64 x86_64

    Source: ocaml-yamlx

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.