Skip to content

selfhost: port algebraic-effects and capability-handler front end to Flow (#675) - #892

Merged
godofecht merged 1 commit into
mainfrom
harvest/675-effects-handlers
Sep 13, 2026
Merged

godofecht merged 1 commit into
mainfrom
harvest/675-effects-handlers

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Advances #675. Ports the front end for algebraic effects and capability handlers to the self-hosted compiler: KW_HANDLE / KW_WITH keywords, AST_EFFECT / AST_CAPABILITY / AST_HANDLE / AST_EFFECT_OP nodes, and the parser/token support for effect, capability, handle and effect-op constructs. Bootstrap regenerated from the merged sources (the session's stale regenerated C was dropped and rebuilt against current main); the fixed-point check and bootstrap_from_c.sh --verify both pass (self-reproducing, full corpus ALL PASS). Front end only; effect codegen/type-checking remain, so the issue stays open.

…Flow (#675)

Add lexing and parsing for effect, capability, handle and effect-op
constructs in the self-hosted compiler: KW_HANDLE/KW_WITH keywords and
AST_EFFECT/AST_CAPABILITY/AST_HANDLE/AST_EFFECT_OP nodes, with parser and
token support. Bootstrap regenerated from the merged sources; fixed-point
check and bootstrap_from_c --verify both pass (self-reproducing).

Co-Authored-By: Claude <[email protected]>
@godofecht
godofecht merged commit 9ce47ab into main Sep 13, 2026
8 checks passed
@godofecht
godofecht deleted the harvest/675-effects-handlers branch October 1, 2026 12:49
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