Repository : ssh://[email protected]/ghc On branch : master Link : http://ghc.haskell.org/trac/ghc/changeset/b372e8eadcbb6abe00d7a7b1198b656a29dcb1ce/ghc
>--------------------------------------------------------------- commit b372e8eadcbb6abe00d7a7b1198b656a29dcb1ce Author: Austin Seipp <[email protected]> Date: Fri Sep 6 13:18:11 2013 -0500 Add basic support for GHCJS This patch encompasses most of the basic infrastructure for GHCJS. It includes: * A new extension, -XJavaScriptFFI * A new architecture, ArchJavaScript * Parser and lexer support for 'foreign import javascript', only available under -XJavaScriptFFI, using ArchJavaScript. * As a knock-on, there is also a new 'WayCustom' constructor in DynFlags, so clients of the GHC API can add custom 'tags' to their built files. This should be useful for other users as well. The remaining changes are really just the resulting fallout, making sure all the cases are handled appropriately for DynFlags and Platform. Authored-by: Luite Stegeman <[email protected]> Signed-off-by: Austin Seipp <[email protected]> >--------------------------------------------------------------- b372e8eadcbb6abe00d7a7b1198b656a29dcb1ce compiler/cmm/PprC.hs | 1 + compiler/llvmGen/LlvmCodeGen/CodeGen.hs | 1 + compiler/main/DynFlags.hs | 17 ++++++++++++++++- compiler/nativeGen/AsmCodeGen.lhs | 1 + compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs | 4 ++++ compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs | 1 + compiler/nativeGen/RegAlloc/Linear/Main.hs | 1 + compiler/nativeGen/TargetReg.hs | 6 ++++++ compiler/parser/Lexer.x | 2 ++ compiler/parser/Parser.y.pp | 3 +++ compiler/parser/RdrHsSyn.lhs | 5 ++++- compiler/prelude/ForeignCall.lhs | 10 ++++++++-- compiler/typecheck/TcForeign.lhs | 5 +++++ compiler/utils/Platform.hs | 1 + 14 files changed, 54 insertions(+), 4 deletions(-) Diff suppressed because of size. To see it, use: git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc b372e8eadcbb6abe00d7a7b1198b656a29dcb1ce _______________________________________________ ghc-commits mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-commits
