Changeset 2411

Show
Ignore:
Timestamp:
04/27/05 21:58:01 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
3914
Message:

* It's not PIR, it's IMC

Location:
src/Pugs
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Compile.hs

    r2401 r2411  
    1414import Pugs.Internals 
    1515import Pugs.Compile.Pugs (genPugs) 
    16 import Pugs.Compile.Parrot (genPIR) 
     16import Pugs.Compile.Parrot (genIMC) 
    1717import Pugs.Compile.Haskell (genGHC) 
    1818 
     
    2020compile "Haskell" env = fmap vCast $ runEval env genGHC 
    2121compile "Pugs"    env = fmap vCast $ runEval env genPugs 
    22 compile "Parrot"  env = fmap vCast $ runEval env genPIR 
     22compile "Parrot"  env = fmap vCast $ runEval env genIMC 
    2323compile s _ = fail $ "Cannot compile to " ++ s 
    2424 
  • src/Pugs/Compile/Parrot.hs

    r2405 r2411  
    1919    compile x = fail ("Unrecognized construct: " ++ show x) 
    2020 
    21 genPIR :: Eval Val 
    22 genPIR = do 
     21genIMC :: Eval Val 
     22genIMC = do 
    2323    Env{ envBody = exp, envGlobal = globRef } <- ask 
    2424