Changeset 4851 for src/Main.hs
- Timestamp:
- 06/19/05 18:16:50 (4 years ago)
- svk:copy_cache_prev:
- 6641
- Files:
-
- 1 modified
-
src/Main.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Main.hs
r4825 r4851 167 167 doCompileDump backend file prog = do 168 168 str <- doCompile backend' file prog 169 writeFile "dump.ast"str169 putStr str 170 170 where 171 171 backend' = capitalizeWord backend … … 304 304 305 305 runPIR :: String -> IO () 306 runPIR str = do 307 withArgs ["-CPIR", "-e", str] main 308 evalParrotFile "dump.ast" 306 runPIR = do 307 pir <- doCompile "PIR" "-" 308 writeFile "a.pir" pir 309 evalParrotFile "a.pir"
