ohua-dev / ohua-core

Core Haskell library for the compiler
https://ohua-dev.github.io
Eclipse Public License 1.0
5 stars 0 forks source link

Provide Backend with additional information regarding operator types #25

Closed Feliix42 closed 5 years ago

Feliix42 commented 5 years ago

The compiler internally differentiates between operators of type DFFunction and EmbedSf, but this differentiation gets lost when the algorithm information is passed to the backend via a DFGraph.

As it is necessary for the code generation to know which operators are stateful functions and which are dataflow operators, it would be helpful if this information would be passed on to the backend.

sertel commented 5 years ago

This was fixed.