docs(grammars): record the sent upstream tree-sitter-cobol PR (#41) (#1162)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Colby Mchenry
2026-07-03 09:23:23 -05:00
committed by GitHub
co-authored by Claude Fable 5
parent 41620c60fa
commit d7afc8cc1f
+6 -6
View File
@@ -94,11 +94,13 @@ npx tree-sitter build --wasm -o tree-sitter-cobol.wasm # needs emscripten or D
The patches are written to be upstreamable — each is independent and comes
with the failing construct documented above.
## Upstreaming (prepared, not sent)
## Upstreaming
`git apply tree-sitter-cobol.patch` on upstream commit `e99dbdc3` reproduces
the fork exactly, so the patch file IS the prepared series. Draft PR body,
ready to post to yutaro-sakamoto/tree-sitter-cobol once approved:
Sent as [yutaro-sakamoto/tree-sitter-cobol#41](https://github.com/yutaro-sakamoto/tree-sitter-cobol/pull/41)
(branch `real-world-cobol-sources` on the colbymchenry fork). If upstream
merges it, the vendored wasm can track upstream releases instead of this
patch. Until then, `git apply tree-sitter-cobol.patch` on upstream commit
`e99dbdc3` reproduces the fork exactly. The PR body as sent:
> **Parse real-world CICS/DB2 and GnuCOBOL sources**
>
@@ -124,5 +126,3 @@ ready to post to yutaro-sakamoto/tree-sitter-cobol once approved:
> Happy to split any of these out or adjust naming/style. Each item is
> independent; `tree-sitter test` passes minus the one pre-existing failure.
The maintainer may prefer separate PRs per item — the diff hunks split
cleanly along the list above.