Skip to content

docs: INTERNALS for tonight's native lowering, spawn handler and packages - #160

Merged
simontreanor merged 1 commit into
mainfrom
docs/internals-native
Sep 28, 2026
Merged

simontreanor merged 1 commit into
mainfrom
docs/internals-native

Conversation

@simontreanor

Copy link
Copy Markdown
Owner

Keeps INTERNALS.md current with tonight's changes (CLAUDE.md asks that it track where each rule lives):

  • crate layout: project/manifest.rs, packages.rs, native_build.rs; the CLI's new subcommands; _pyfun_rt.py now also holds _pf_scope
  • Native lowering: try_lower_native_match / native_pattern_ok / native_pattern, the annotation post-pass (any_for_object_fields, annotate_functions, py_type_annotation, TypedFuncDef, TypeSpan::raw), and the build step
  • The spawn handler: the infer_apply rule, top_effects, the runtime helpers
  • Façade packages: locate_module (shared by the CLI and LSP), the installer choice, metadata lookup, manifest editing

Docs only.

…ages

The crate layout gains manifest.rs, packages.rs and native_build.rs; new
sections map the native lowering (ladders, annotations, build), the spawn
handler, and facade resolution to the functions that implement them.
@simontreanor
simontreanor merged commit 5a3448b into main Sep 28, 2026
20 checks passed
@simontreanor
simontreanor deleted the docs/internals-native branch September 28, 2026 02:02
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