Draft: JS: code generator (#21078)
Code generator adapted from GHCJS
-
Remove whitespaces -
Correctly store generated output in .o file -
Fix added FIXME
s -
Fix -ddump-js (currently fails to decode the Object's bytestring) -
Add haddocks and codegen notes -
Add test - Other possible enhancements...
-
use FastString instead of ShortText in many places -
use UnitID instead of converting into String -
replace some Maps with UniqFM - ...
-
Edited by Sylvain Henry