Skip to content

playground: a C example notebook (6-c), checked not run - #24

Merged
tannevaled merged 2 commits into
mainfrom
c-notebook
Nov 14, 2026
Merged

tannevaled merged 2 commits into
mainfrom
c-notebook

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

The playground's C example notebook, playground/notebooks/6-c.md, in the style of 5-r.md: two C cells (the second reads the first's typedef and macro, as C cells do), a Go cell blocked on the C cell, an independent Go cell that runs, and a syntax error quoted in the prose. The deploy build runs every notebook and fails on a failing cell; here the C cells end with the typed not-run outcome and the Go cell with the blocked one, which the build accepts, as for Julia and R. The README line is updated.

Draft: it waits for a playground release

playground/go.mod pins go-notebook/playground v0.11.0, which has no C support (a c fence would be shown as text). The C support is in go-notebook/playground#30, open and not released. Once it is released, the pin moves (Renovate, or go get) and this PR can be marked ready; merging it before that publishes a C notebook that shows no C cells.

Checked locally: this file built with cmd/build of the branch of go-notebook/playground#30 (exit 0), and the playground's web/test/page.mjs on that site passes (2 C cells, 1 blocked, 1 independent; badges C · not runnable yet).

Refs go-notebook/playground#30.

🤖 Generated with Claude Code

tannevaled and others added 2 commits November 13, 2026 20:50
Waits for a go-notebook/playground release with C cells
(go-notebook/playground#30): the pin in playground/go.mod is v0.11.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
v0.12.0 (playground#30) checks C cells, so the 6-c.md example builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled marked this pull request as ready for review November 14, 2026 07:31
@tannevaled
tannevaled merged commit 96d83b8 into main Nov 14, 2026
5 checks passed
@tannevaled
tannevaled deleted the c-notebook branch November 14, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant