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

Update source generators #49

Merged
merged 17 commits into from
Jan 31, 2024
Merged

Update source generators #49

merged 17 commits into from
Jan 31, 2024

Conversation

HamletTanyavong
Copy link
Owner

@HamletTanyavong HamletTanyavong commented Jan 31, 2024

  • Fix a bug where a symbol that was not defined in a namespace would stop the generating process for correctly-defined symbols.
  • Add syntax rewriter for tensor contraction generators
  • Rename some methods and clean up some code

- Rename parameter
- Remove unused parameter
- Remove unused parameter
- Fix a bug where a symbol that was not defined in a namespace would stop the generating process for correctly-defined symbols.
- Remove null-forgiving operator since it is not necessary
- Remove new line character that appears with symbols generated in non-file-scoped namespaces.
- Create TypeArgumentIndexSwapRewriter
- Use the new rewriter to simplify index swapping process
- Remove code that is no longer needed
- Create new method for swapping indices
- Add method for swapping indices
@HamletTanyavong HamletTanyavong changed the title Update tensor contraction and tensor self-contraction source generators Update source generators Jan 31, 2024
@HamletTanyavong HamletTanyavong merged commit f1e1bf3 into main Jan 31, 2024
4 checks passed
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