Re: -ddump-stg code

2007-11-19 Thread Guilherme Avelino
What kind of changes can I expect? Only format changes or changes in the informations showed. When will be launch the version 6.10? Thanks! 2007/11/20, Aaron Tomb <[EMAIL PROTECTED]>: > > Actually, that file should be fine. I updated the External Core output > path to include all of the construct

Re: -ddump-stg code

2007-11-19 Thread Aaron Tomb
Actually, that file should be fine. I updated the External Core output path to include all of the constructs in modern GHC core. It's the input path I've been slow to finish (and, when I do finish it, the output format will likely be totally different, too :) ) So, there's little formal doc

Re: -ddump-stg code

2007-11-19 Thread Guilherme Avelino
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 PROTECTED]> wrote: >

Re: -ddump-stg code

2007-11-19 Thread Tim Chevalier
On 11/19/07, Guilherme Avelino <[EMAIL PROTECTED]> wrote: > I have two questions about the code generated by -fext-core: > > Is there one place where I can obtain the grammar for it? > How is represented the free-vars? > See: "An External Representation for the GHC Core Language" (2001) Andrew To

Re: -ddump-stg code

2007-11-19 Thread Guilherme Avelino
> > > Simon > > > > > > > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > *On Behalf Of *Guilherme Avelino > > *Sent:* 16 November 2007 20:14 > > *To:* cvs-ghc@haskell.org > > *Subject:* -ddump-stg code > > > > > >

Re: -ddump-stg code

2007-11-19 Thread Guilherme Avelino
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

RE: -ddump-stg code

2007-11-19 Thread Simon Peyton-Jones
nt: 16 November 2007 20:14 To: cvs-ghc@haskell.org Subject: -ddump-stg code 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.

Re: -ddump-stg code

2007-11-16 Thread Tim Chevalier
On 11/16/07, Guilherme Avelino <[EMAIL PROTECTED]> wrote: > 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 > ther

Re: -ddump-stg code

2007-11-16 Thread Don Stewart
stefanor: > On Fri, Nov 16, 2007 at 05:14:08PM -0300, Guilherme Avelino wrote: > > 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 tha

Re: -ddump-stg code

2007-11-16 Thread Stefan O'Rear
On Fri, Nov 16, 2007 at 05:14:08PM -0300, Guilherme Avelino wrote: > 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.

-ddump-stg code

2007-11-16 Thread Guilherme Avelino
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?