Which optimizations are presented just in the STG, not being observed in the
Core? Are there any documentation about these optimizations?
Thanks in advance.
___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc
Hi,
the version is 6.8.1 and I wanted to say that the driver show a message
error and not parse the file.
2008/3/11, Tim Chevalier <[EMAIL PROTECTED]>:
>
> On 3/11/08, Guilherme Avelino <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I compiled the files and tri
Hi,
I compiled the files and tried to parser a module generated with ghc -c -O2
-fext-core, but it didn´t work. Do I need any other flag to produce the hcr
file supported by the driver?
OBS: I modified the file driver.hs changed the flist to ["Test.hcr"], where
"test.hcr" is my core module.
2008/
gt; iterateFB c f
x)
"iterateFB" [1]iterateFB (:) = iterate
#-}
Thanks.
2008/3/7, Tim Chevalier <[EMAIL PROTECTED]>:
>
> On 3/7/08, Guilherme Avelino <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I´m using the flag -fext-core to obtain the c
Hi,
I´m using the flag -fext-core to obtain the core of a program. But, rewrite
rules not changed this code. Are there any way to observe the changes cause
by rewrite rules on Core language?
For sample:
iterate :: (a -> a) -> a -> [a]
iterate f x = x : iterate f (f x)
iterateFB c f x = x `c` i
_dau of wild_B1 {
[] -> GHC.Base.[] @ u_aaq;
: x_a5I xs_a5J ->
GHC.Base.: @ u_aaq (ds_dat x_a5I) (Teste.mapp @ t_aap @ u_aaq ds_dat
xs_a5J)
}
end Rec }
2008/2/19, Guilherme Avelino <[EMAIL PROTECTED]>:
>
> Hi, I´m trying to use the Core representation by
Hi, I´m trying to use the Core representation by -ddump-simpl, because the
code generated is simpler than -fext-core.
But I don´t understand the meaning of some informations.
I compile the code:
mapp::(t->u)->[t]->[u]
mapp _ [] = []
mapp f (x:xs) = (f x):(mapp f xs)
is generated:
Teste.t :: G
Hi,
I know that Stg don´t have type informations, but I saw some research using
a changed version of GHC
Some researches, like Compiling Haskell to Java [Tullsen, Mark] and
Multi-Paradigm Just-In-Time Compilation [Stewart, Don], have used the STG as
frontend for them compilers. They changed the
likely to change
> significantly in 6.10.
>
> Aaron
>
> On Nov 19, 2007, at 6:53 PM, Guilherme Avelino wrote:
>
> > Hi,
> >
> > I didn´t understand. I´m using the GHC 6.8.1 and when I use -fext-
> > core is generated a file (.hcr). Is there any problem with t
Hi,
I didn´t understand. I´m using the GHC 6.8.1 and when I use -fext-core is
generated a file (.hcr). Is there any problem with the generated code? Which
version should I use?
Thanks
2007/11/19, Tim Chevalier <[EMAIL PROTECTED]>:
>
> On 11/19/07, Guilherme Avelino <[EMAIL PR
e
> > working on this.
> >
> >
> >
> > You may also find it easier to use the GHC API: you should be able to
> > import module GHC, and use its API to compile your module and return the
> > (typed) Core syntax tree to your back end.
> >
> >
>
and use its API to compile your module and return the
> (typed) Core syntax tree to your back end.
>
>
>
> Simon
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Guilherme Avelino
> *Sent:* 16 November 2007 20:14
> *To:* cvs-ghc@haskell.or
Hi,
I want to use the stg code generated by the ghc with a frontend for my
compiler. I´m using the flags -ddump-stg and -dppr-debug to obtain the STG
informations. However there are some things that I din´t understand. Are
there any document where I can find informations about the stg generated?
13 matches
Mail list logo