turion / rhine

Haskell Functional Reactive Programming framework with type-level clocks
http://hackage.haskell.org/package/rhine
123 stars 21 forks source link

Can rhine compile via Clash? #48

Open turion opened 6 years ago

turion commented 6 years ago

Looking at http://hackage.haskell.org/package/clash-prelude-0.99/docs/Clash-Tutorial.html, I think there should be a way to implement something like compileToClash :: SF Identity ClashClock (Signed n) (Signed m) -> Clock System Source -> Signal System (Signed n) -> Signal System (Signed m), and this could be used to compile some Rhine programs to Clash.

ggreif commented 6 years ago

+1