Changeset 10059 for src/Pugs/CodeGen
- Timestamp:
- 04/23/06 14:04:21 (3 years ago)
- Location:
- src/Pugs/CodeGen
- Files:
-
- 8 modified
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/CodeGen/Binary.hs
r7579 r10059 1 1 {-# OPTIONS_GHC -fglasgow-exts #-} 2 {-# OPTIONS_GHC -#include "../../UnicodeC.h" #-}3 2 4 3 module Pugs.CodeGen.Binary (genBinary) where -
src/Pugs/CodeGen/JSON.hs
r9309 r10059 1 1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp #-} 2 {-# OPTIONS_GHC -#include "../../UnicodeC.h" #-}3 2 4 3 module Pugs.CodeGen.JSON (genJSON) where -
src/Pugs/CodeGen/PIL1.hs
r9309 r10059 1 1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp #-} 2 {-# OPTIONS_GHC -#include "../../UnicodeC.h" #-}3 2 4 3 module Pugs.CodeGen.PIL1 (genPIL1) where -
src/Pugs/CodeGen/PIL2.hs
r9309 r10059 1 1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp #-} 2 {-# OPTIONS_GHC -#include "../../UnicodeC.h" #-}3 2 4 3 module Pugs.CodeGen.PIL2 ( -
src/Pugs/CodeGen/PIR.hs
r9309 r10059 1 1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp #-} 2 {-# OPTIONS_GHC -#include "../../UnicodeC.h" #-}3 2 4 3 {-| … … 150 149 trans (PVal (VRat rat)) = return $ ExpLit (LitNum (ratToNum rat)) 151 150 -- trans (PVal (VList [])) = return $ LitInt 0 -- XXX Wrong 151 trans (PVal (VCode code)) 152 | MkCode{ subBody = Syn "block" [ Ann _ exp ] } <- code 153 , App (Var var) Nothing [] <- exp 154 = fmap ExpLV (trans (PVar var)) 152 155 trans (PVal (VList vs)) = do 153 156 pmc <- genArray "vlist" -
src/Pugs/CodeGen/Perl5.hs
r9309 r10059 1 1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp #-} 2 {-# OPTIONS_GHC -#include "../../UnicodeC.h" #-}3 2 4 3 module Pugs.CodeGen.Perl5 (genPerl5) where -
src/Pugs/CodeGen/XML.hs
r6257 r10059 1 1 {-# OPTIONS_GHC -fglasgow-exts #-} 2 {-# OPTIONS_GHC -#include "UnicodeC.h" #-}3 2 4 3 module Pugs.CodeGen.XML (genXML) where -
src/Pugs/CodeGen/YAML.hs
r9309 r10059 1 1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp #-} 2 {-# OPTIONS_GHC -#include "../../UnicodeC.h" #-}3 2 4 3 module Pugs.CodeGen.YAML (genYAML, genParseYAML, genParseHsYAML) where
