Changeset 7866 for src/Pugs/CodeGen.hs
- Timestamp:
- 11/06/05 01:28:07 (3 years ago)
- Files:
-
- 1 modified
-
src/Pugs/CodeGen.hs (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/CodeGen.hs
r7843 r7866 14 14 import Pugs.Internals 15 15 import Pugs.CodeGen.PIL1 (genPIL1) 16 import Pugs.CodeGen.PIL2 (genPIL2 )16 import Pugs.CodeGen.PIL2 (genPIL2, genPIL2Perl5, genPIL2Binary, genPIL2JSON) 17 17 import Pugs.CodeGen.PIR (genPIR) 18 18 import Pugs.CodeGen.Perl5 (genPerl5) … … 33 33 , ("PIL1", genPIL1) 34 34 , ("PIL2", genPIL2) 35 , ("PIL2-Perl5", genPIL2Perl5) 36 , ("PIL2-JSON", genPIL2JSON) 37 , ("PIL2-Binary", genPIL2Binary) 35 38 , ("Perl5", genPerl5) 36 39 , ("Pugs", genPugs) … … 44 47 45 48 norm :: String -> String 46 norm = norm' . map toLower 49 norm = norm' . map toLower . filter isAlphaNum 47 50 where 48 51 norm' "ghc" = "GHC" … … 53 56 norm' "pil2" = "PIL2" 54 57 norm' "perl5" = "Perl5" 58 norm' "pil2perl5" = "PIL2-Perl5" 59 norm' "pil2json" = "PIL2-JSON" 60 norm' "pil2binary" = "PIL2-Binary" 55 61 norm' "pugs" = "Pugs" 56 62 norm' "binary" = "Binary"
