AlgebraicJulia / AlgebraicJulia/DiagrammaticEquations.jl

Add inverse of `resolve_overloads` & Check types

Aperta
#81 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
20
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

With the merging of the SymbolicUtils interoperability branch into DiagrammaticEquations we want to remove the user-allowed typing of DEC operators in the Decapode. For example, a user using `d₁` instead of the generic `d`. While this typing is still critical during the code generation phase, in order to differentiate which matrix implementations of `d` to use for example, for the purposes of type inference/rewriting it is increasingly adding to the overall complexity of the code without providing much benefit.

To remedy this, we should instead only work with generic operators on the user-side, so things like `d₁` are no longer viewed as a valid DEC operator and only `d` is. Then, for code generation only, we take the operator's name and it's surrounding type information to generate its type-specific name there for implementation differentiation.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.