Add complete capture examples for all language ports - #55
Merged
Merged
Conversation
why: Capture examples stop at the parent languages and omit F#, Kotlin, Scala, Lua and Ruby. Readers need complete files they can run directly. what: - Add standalone programs, imports, pinned setup and owned-server cleanup - Link every port from the shared tmux example and the wrapper indexes - Record native success and failure checks on tmux 3.2a and 3.7c - Add a runner that executes the displayed files and setup without preludes - Preserve native bytes through rendering, Markdown and Copy buttons
This branch was successfully deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The capture example now includes F#, Kotlin, Scala, Lua and Ruby. Each port gets a standalone program with imports, explicit build files and pinned setup, bounded waiting, and cleanup of its private tmux server. The root page links to all thirteen variants. The C++ page also explains that the single-file executable needs no separate header.
The F# setup restores the NuGet package matching the library lockfile. The JVM build files include memory settings needed to compile the pinned library. A new
scripts/check-capture-prose.pyrunner extracts and executes the displayed files and setup without adding a prelude.Verification
Native execution is a separate verification step from the routine renderer tests.
WRITING.mddocuments how to repeat it.