Packages / Fedora 44 / Source / ocaml-yamlx

Source Package: ocaml-yamlx (0.3.0-1.fc44)

Pure OCaml YAML 1.2 parser with lossless comment-preserving AST

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.

Package information

Homepage
[https://mjambon.github.io/yamlx/]
License
AGPL-3.0-only
Downstream-Paketbetreuer
jjamesObserved Nov 24, 2026 [source]

The following binary packages are built from this source package:

Bekannte Sicherheitslücken

Keine passenden Meldungen in den erfassten Quellen.

Zuletzt synchronisiert:

[CVE-Katalog]

Quellen

  • Authoritative source; repository metadata signature verified

    Signaturnachweis

    44-updates-aarch64:6ecf7f9a3a707e537dd0c542e2f5fabb365c3c76c03b091b23e9c82d7f8ff88b

    Repository-signature verification record
    Signed-object SHA-256
    2ec0ba92e556309075d8efe3c3301b36bb7ecd47c4e17566f0192c9c5436ed5f
    Keyring revision
    RPM-GPG-KEY-fedora-44-primary
    SHA-256 93642aec521a1e5e96dd715f7ae0ec0850ebc9de09a94ce03cae5263f26cc18a
    Tool and policy
    1
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable
  • Authoritative source; repository metadata signature verified

    Signaturnachweis

    44-updates-x86_64:ffcac72d41afd8a62019714dd668a27f333f8ac19678580178b5b67c23ca6419

    Repository-signature verification record
    Signed-object SHA-256
    a69a0ab020457a7af2515066b7caccb3950bcf9dc7bedb52b1850098d9857ae1
    Keyring revision
    RPM-GPG-KEY-fedora-44-primary
    SHA-256 93642aec521a1e5e96dd715f7ae0ec0850ebc9de09a94ce03cae5263f26cc18a
    Tool and policy
    1
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable
  • Curated source

    Source observation

    653d011a6c4342916558f1a5492342e82e62199e76cf3545ee7610c853d0deaa

    No repository signature was supplied for this metadata.