Skip to content

docs: sync language reference, add execution-model / debugging / roadmap#21

Merged
kollhof merged 2 commits into
mainfrom
sync-fink-docs
Apr 30, 2026
Merged

docs: sync language reference, add execution-model / debugging / roadmap#21
kollhof merged 2 commits into
mainfrom
sync-fink-docs

Conversation

@kollhof

@kollhof kollhof commented Apr 30, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace the stale Language Reference with the current fink/docs/language.md content (IO via write and std/io.fnk, Collections section, tagged-templates protocol, mid-list spread patterns, fink <file> CLI, f _ zero-arg call, mutual-recursion-only-at-module-scope caveat, .. range precedence note, std/ resolution).
  • Add three new docs pages mirrored from fink: Execution Model, Debugging, Roadmap.
  • Update docs index to list the four real pages.

Test plan

  • make build runs clean.
  • make serve and click through each new page — language, execution-model, debugging, roadmap.
  • Cross-check links: language → execution-model / debugging / roadmap, roadmap ↔ language.
  • Spot-check code samples against current fink behaviour.

Notes

  • ** and /% are listed in roadmap as not-yet-lowered (panic in lowering pass) per upstream — worth confirming.
  • Mid-list spread ([..init, last], [a, b, ..mid, x, y]) added to the language ref based on confirmed tests in fink/src/runner/test_patterns.fnk; not yet in fink's own docs.

kollhof added 2 commits April 30, 2026 16:07
Pull updated docs from fink. Replaces the stale language reference with
the current source-of-truth from fink/docs/, and adds three new pages:
execution-model (algebraic effects, module lifecycle), debugging (DAP
adapter), roadmap (designed-but-not-yet-reachable features).
Lead with a working module that defines an export, then show another
module importing it. Replaces three import-only one-liners that didn't
illustrate what a module actually is, and clarify that imports are
local bindings, not re-exports.
@kollhof kollhof merged commit 9844827 into main Apr 30, 2026
4 checks passed
@kollhof kollhof deleted the sync-fink-docs branch April 30, 2026 16:43
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