docs(book): guide coming from Go and Python #635
Loading…
Reference in a new issue
No description provided.
Delete branch "loop/608-coming-from-go-python"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #608
What
Starts the Guide chapter "Coming from another language" with the Go and Python pages.
book/guide/coming-from/index.md(kindindex),go.mdandpython.md(kindpage), written afterbook/CONCEPT.md: prose first, headings name ideas, everytrb runandtrb errorblock is followed by itsoutputblock.nil, no zero values), an error is a value and?passes it on, traits a type declares withwith, every case is handled, tasks instead of goroutines.Noneand no exceptions; braces andconst/var; types checked before the program runs.book/guide/index.mdlists the new folder (generated block).docs/guide/coming-from/go.mdandpython.mdare deleted,docs/guide/coming-from/index.mdand the skills are regenerated. No skill template links the two pages, so none has to stay indocs/. The old index stays for the remaining slices.Rust, TypeScript and JavaScript, Kotlin and Swift are not started. The seed is not touched.
Test
trb runandtrb errorblock was run with a nightlytorb(runorcheck); outputs are pasted from those runs.torb format --checkon all blocks: clean.torb docs index --check(book and docs) andtorb docs skill --check docs skills: up to date.tools/check-commits.sh origin/main HEAD: clean.torb docs check bookandtorb docs site book --checkneed the current toolchain's book rules, so they run in forge CI (tools/gates.sh a).CI red on
e7e5434: ci / tier A (linux-x64) ->docs check book(gates.sh a), andci / gateswith it. Cause from the job log: the fenced blocks taggedgoandpythonare not a language of the book (allowed: trb, text, console, json, md, yaml, diff, output):go)python)Retag them with an allowed language (e.g.
text) and push; the next CI run brings me back. No other findings yet.Approved on
d618842. Checklist:docs check book/ gates A green after the fence retag).trb run/trb errorblock is followed by anoutputblock; examples are consistent with the prose; Go/Python claims match the language as described.book/guide/index.md, old pages and their skill copies retired); Rust/TS/JS/Kotlin/Swift untouched, seed untouched.docs/guide/index.mdortour.md; old index list regenerated; skills regenerated.Non-blocking: #608 asked for plain
go/pythonblocks; the book gate only allowstext, sotextis the right call.