Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use traversal abstraction #270

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Use traversal abstraction #270

wants to merge 1 commit into from

Conversation

lukem12345
Copy link
Member

@lukem12345 lukem12345 commented Aug 27, 2024

DiagrammaticEquations.jl PRs 69 and 70 demonstrate means of traversing a SummationDecapode object, and returning a cached record of topologically-sorted operations.

This current PR demonstrates how this means can be used to re-organize code which “visits” such operations and emits code. For the purposes of this PR, whether DiagrammaticEquations returns a (lazy) iterator over a SummationDecapode or a collected version of such is abstracted away.

It also takes the opportunity to make minor modifications to the rules around when certain operations can be broadcasted.

Tests pass using commit dfe0e03 of DiagrammaticEquations’ llm/fw branch.

@lukem12345 lukem12345 added the enhancement New feature or request label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant