You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A test suite for HOCON implementations: 446 cases, one for each sentence of HOCON.md, each citing the sentence it tests, with a runner and the scores of the implementations it has adapters for, this library among them. It is where the question settled in #887 came from.
TLDR: The gray-zone evidence behind the suite this README links: I re-ran it (589 cases, zig-hocon main @ 3e4ddc6, 2026-11-03) against typesafe/config 1.4.9, ekrich/sconfig 2.1.0, my sHOCON fork and our 13 open PRs from #868 to #882 (eight independent, plus the #878 → #882 stack). No PR makes any case worse than the one before it (0 regressions across the stack); the cases the stack fixes are attributed in #882.
26 cases stay gray-zone today — implementations legitimately disagree, and each row records one way how:
7 × unsupported — typesafe/config 1.4.9 fails outright on input the spec allows: an internal error (BugOrBroken) on six rows, a hard parse error on the .properties-include row
10 × lenient — typesafe/config 1.4.9 silently accepts or drops data where the spec requires an error
8 × diverges — substitution/merge resolution differs (a substitution sees the field's merged value; a null stops merging only at its own key)
1 × — — outside the java-marked zone: self-referential-examples/051 (hidden list concatenation) passes on typesafe/config 1.4.9 and sconfig 2.1.0 but fails on the fork and on the stack (already on main, before any of our PRs); a known gap of the fork, not addressed here
The two unicode-escape rows are the bug reported in #884; a fix is open in #890, outside this stack. Full per-row status (✓ pass / ✗ fail; "stack @ #882" is the top of the stack):
Per-row explanations (the why note for each case) go with the java_since offer on #882 — happy to open the zig-hocon issue with them on request.
Generated with glm-5.3-flash/h through ZCode
Reviewed by opus-5.5/m
Revised by glm-5.3/max
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A test suite for HOCON implementations: 446 cases, one for each sentence of HOCON.md, each citing the sentence it tests, with a runner and the scores of the implementations it has adapters for, this library among them. It is where the question settled in #887 came from.