Changeset 12324
- Timestamp:
- 08/16/06 20:03:31 (2 years ago)
- Location:
- src
- Files:
-
- 22 modified
-
Pugs.hs (modified) (1 diff)
-
Pugs/AST.hs (modified) (2 diffs)
-
Pugs/AST/SIO.hs (modified) (3 diffs)
-
Pugs/Bind.hs (modified) (1 diff)
-
Pugs/CodeGen/PIR.hs (modified) (1 diff)
-
Pugs/Compile.hs (modified) (1 diff)
-
Pugs/Compile/PIL2.hs (modified) (1 diff)
-
Pugs/Compile/Pugs.hs (modified) (1 diff)
-
Pugs/Eval.hs (modified) (1 diff)
-
Pugs/Eval/Var.hs (modified) (1 diff)
-
Pugs/External.hs (modified) (1 diff)
-
Pugs/Internals.hs (modified) (1 diff)
-
Pugs/Monads.hs (modified) (1 diff)
-
Pugs/Parser/Operator.hs (modified) (2 diffs)
-
Pugs/Parser/Util.hs (modified) (1 diff)
-
Pugs/Prim.hs (modified) (1 diff)
-
Pugs/Prim/Code.hs (modified) (1 diff)
-
Pugs/Prim/Eval.hs (modified) (1 diff)
-
Pugs/Prim/Match.hs (modified) (1 diff)
-
Pugs/Prim/Param.hs (modified) (1 diff)
-
Pugs/Run.hs (modified) (1 diff)
-
Pugs/Run/Perl5.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts #-}1 {-# OPTIONS_GHC -fglasgow-exts -fallow-overlapping-instances #-} 2 2 3 3 {-| -
src/Pugs/AST.hs
r12317 r12324 1 {-# OPTIONS_GHC -cpp -fglasgow-exts -fno-warn-orphans -funbox-strict-fields #-}1 {-# OPTIONS_GHC -cpp -fglasgow-exts -fno-warn-orphans -funbox-strict-fields -fallow-overlapping-instances #-} 2 2 3 3 {-| … … 313 313 filterUserDefinedPad (MkPad pad) = MkPad $ Map.filterWithKey doFilter pad 314 314 where 315 doFilter key _ = key `Set.notMember`_reserved315 doFilter key _ = (not . Set.member key) _reserved 316 316 317 317 _reserved :: Set Var -
src/Pugs/AST/SIO.hs
r12317 r12324 19 19 20 20 {-# INLINE runSIO #-} 21 {-# SPECIALISE INLINErunSIO :: SIO () -> Maybe () #-}22 {-# SPECIALISE INLINErunSIO :: SIO () -> Either String () #-}21 {-# SPECIALISE runSIO :: SIO () -> Maybe () #-} 22 {-# SPECIALISE runSIO :: SIO () -> Either String () #-} 23 23 runSIO :: Monad m => SIO a -> m a 24 24 runSIO MkSTM{} = fail "Unsafe STM caught in pure computation" … … 27 27 28 28 {-# INLINE runSTM #-} 29 {-# SPECIALISE INLINErunSTM :: SIO () -> STM () #-}29 {-# SPECIALISE runSTM :: SIO () -> STM () #-} 30 30 runSTM :: SIO a -> STM a 31 31 runSTM (MkSTM stm) = stm … … 34 34 35 35 {-# INLINE runIO #-} 36 {-# SPECIALISE INLINErunIO :: SIO () -> IO () #-}36 {-# SPECIALISE runIO :: SIO () -> IO () #-} 37 37 runIO :: SIO a -> IO a 38 38 runIO (MkIO io) = io -
src/Pugs/Bind.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts #-}1 {-# OPTIONS_GHC -fglasgow-exts -fallow-overlapping-instances #-} 2 2 3 3 {-| -
src/Pugs/CodeGen/PIR.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp #-}1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp -fallow-overlapping-instances #-} 2 2 3 3 {-| -
src/Pugs/Compile.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp -fno-warn-deprecations #-}1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp -fno-warn-deprecations -fallow-overlapping-instances #-} 2 2 3 3 {-| -
src/Pugs/Compile/PIL2.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp -fno-warn-deprecations #-}1 {-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fno-warn-orphans -funbox-strict-fields -cpp -fno-warn-deprecations -fallow-overlapping-instances #-} 2 2 3 3 module Pugs.Compile.PIL2 ( -
src/Pugs/Compile/Pugs.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts #-}1 {-# OPTIONS_GHC -fglasgow-exts -fallow-overlapping-instances #-} 2 2 3 3 module Pugs.Compile.Pugs (genPugs) where -
src/Pugs/Eval.hs
r12321 r12324 1 {-# OPTIONS_GHC -fglasgow-exts -cpp -fno-warn-deprecations #-}1 {-# OPTIONS_GHC -fglasgow-exts -cpp -fno-warn-deprecations -fallow-overlapping-instances #-} 2 2 3 3 {-| -
src/Pugs/Eval/Var.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts -cpp #-}1 {-# OPTIONS_GHC -fglasgow-exts -cpp -fallow-overlapping-instances #-} 2 2 3 3 module Pugs.Eval.Var ( -
src/Pugs/External.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts -cpp #-}1 {-# OPTIONS_GHC -fglasgow-exts -cpp -fallow-overlapping-instances #-} 2 2 3 3 {-| -
src/Pugs/Internals.hs
r12317 r12324 162 162 -- 163 163 class ((:>:) a) b where 164 {-# SPECIALISE INLINEcast :: ID -> ID #-}165 {-# SPECIALISE INLINEcast :: ByteString -> ByteString #-}166 {-# SPECIALISE INLINEcast :: String -> String #-}167 {-# SPECIALISE INLINEcast :: ByteString -> ByteString #-}168 {-# SPECIALISE INLINEcast :: String -> String #-}169 {-# SPECIALISE INLINEcast :: ID -> ByteString #-}170 {-# SPECIALISE INLINEcast :: ID -> String #-}171 {-# SPECIALISE INLINEcast :: ByteString -> ID #-}172 {-# SPECIALISE INLINEcast :: String -> ID #-}164 {-# SPECIALISE cast :: ID -> ID #-} 165 {-# SPECIALISE cast :: ByteString -> ByteString #-} 166 {-# SPECIALISE cast :: String -> String #-} 167 {-# SPECIALISE cast :: ByteString -> ByteString #-} 168 {-# SPECIALISE cast :: String -> String #-} 169 {-# SPECIALISE cast :: ID -> ByteString #-} 170 {-# SPECIALISE cast :: ID -> String #-} 171 {-# SPECIALISE cast :: ByteString -> ID #-} 172 {-# SPECIALISE cast :: String -> ID #-} 173 173 cast :: b -> a 174 174 -
src/Pugs/Monads.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts #-}1 {-# OPTIONS_GHC -fglasgow-exts -fallow-overlapping-instances #-} 2 2 3 3 {-| -
src/Pugs/Parser/Operator.hs
r12317 r12324 1 {-# OPTIONS_GHC -cpp -fglasgow-exts -funbox-strict-fields -fno-full-laziness -fno-cse #-}1 {-# OPTIONS_GHC -cpp -fglasgow-exts -funbox-strict-fields -fno-full-laziness -fno-cse -fallow-overlapping-instances #-} 2 2 3 3 module Pugs.Parser.Operator where … … 184 184 (optionary', unary') = mapPair (map snd) . partition fst . sort $ 185 185 [ (isOptional param, var) | (var, _, [param]) <- unary 186 , v_name var `Set.notMember` restNames186 , not (v_name var `Set.member` restNames) 187 187 ] 188 188 (namedUnary, preUnary, postUnary) = foldr splitUnary ([],[],[]) unary' -
src/Pugs/Parser/Util.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts #-}1 {-# OPTIONS_GHC -fglasgow-exts -fallow-overlapping-instances #-} 2 2 module Pugs.Parser.Util where 3 3 -
src/Pugs/Prim.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts -fno-warn-orphans -fno-full-laziness -fno-cse #-}1 {-# OPTIONS_GHC -fglasgow-exts -fno-warn-orphans -fno-full-laziness -fno-cse -fallow-overlapping-instances #-} 2 2 3 3 {-| -
src/Pugs/Prim/Code.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts #-}1 {-# OPTIONS_GHC -fglasgow-exts -fallow-overlapping-instances #-} 2 2 module Pugs.Prim.Code ( 3 3 op1CodeAssoc, op1CodeName, op1CodeArity, op1CodeBody, op1CodePos, -
src/Pugs/Prim/Eval.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts #-}1 {-# OPTIONS_GHC -fglasgow-exts -fallow-overlapping-instances #-} 2 2 module Pugs.Prim.Eval ( 3 3 -- used by Pugs.Prim -
src/Pugs/Prim/Match.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts -fno-warn-orphans #-}1 {-# OPTIONS_GHC -fglasgow-exts -fno-warn-orphans -fallow-overlapping-instances #-} 2 2 3 3 module Pugs.Prim.Match ( -
src/Pugs/Prim/Param.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts #-}1 {-# OPTIONS_GHC -fglasgow-exts -fallow-overlapping-instances #-} 2 2 3 3 module Pugs.Prim.Param ( -
src/Pugs/Run.hs
r12317 r12324 1 {-# OPTIONS_GHC -fglasgow-exts -fno-full-laziness -fno-cse -cpp #-}1 {-# OPTIONS_GHC -fglasgow-exts -fno-full-laziness -fno-cse -cpp -fallow-overlapping-instances #-} 2 2 3 3 -
src/Pugs/Run/Perl5.hs
r12323 r12324 1 {-# OPTIONS_GHC -fglasgow-exts -cpp -fvia-C -optc-w -fno-warn-unused-binds -fno-warn-unused-imports #-}1 {-# OPTIONS_GHC -fglasgow-exts -cpp -fvia-C -optc-w -fno-warn-unused-binds -fno-warn-unused-imports -fallow-overlapping-instances #-} 2 2 3 3 module Pugs.Run.Perl5 () where
