I'm wondering if it might be worthwhile to add types to the Shen sources. The main thing hindering the performance of my Haskell backend is that it translates from the K Lambda sources to what is essentially a dynamically typed, Haskellized Lisp, which obstructs some of the optimizations that GHC (the Haskell compiler) does. If we could add a concise type theory to the functions in the Shen sources, I could write a Shen->Haskell transpiler that would likely be capable of generating much tighter code. It might also be of some help to other implementers. It looks like a fair amount of work, and so I ask, is writing a typed variant of the Shen sources a good idea from this vantage point?
--
You received this message because you are subscribed to the Google Groups "Shen" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qilang+un...@googlegroups.com.
To post to this group, send email to qil...@googlegroups.com.
Visit this group at http://groups.google.com/group/qilang.
For more options, visit https://groups.google.com/d/optout.