Skip to content

Conversation

@eb8680
Copy link
Contributor

@eb8680 eb8680 commented Jun 17, 2025

Blocked by #288 #295
Supercedes #242

This PR uses the new higher-order operation effectful.ops.syntax.defstream from #295 which has a straighforward correspondence to Python's ast.GeneratorExp along with the disassembler added in #288 to enable a robust, general defterm implementation for overloading and metaprogramming generator comprehensions.

Remaining tasks:

  • Unit tests for AST transformers
  • Unit tests for new defterm

@eb8680 eb8680 changed the title Add a higher-order operation forexpr for comprehension syntax overloading Add a defterm pattern for comprehension syntax overloading Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants