Implement the optimizer
paf31 opened this issue · 4 comments
paf31 commented
- src/Language/PureScript/Optimizer/Blocks.hs
- src/Language/PureScript/Optimizer/Common.hs
- src/Language/PureScript/Optimizer/Inliner.hs
- src/Language/PureScript/Optimizer/MagicDo.hs
- src/Language/PureScript/Optimizer/TCO.hs
- src/Language/PureScript/Optimizer/Unused.hs
- src/Language/PureScript/Optimizer.hs
garyb commented
All these are done now, but the unchecked items need some stuff uncommenting (and then perhaps fixing) when purescript/purescript#427 is fixed.
garyb commented
Also I must admit I've not checked if it actually works, but I have to leave this for now. I'll be back later to test things and fix the referenced issue.
paf31 commented
I've uncommented the commented code, and things compile, but there are issues with TCO. There are JSFunction
s whose arguments lists are undefined
.
paf31 commented
This is great by the way