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
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? Thanks 2007/11/19, Simon Peyton-Jones <[EMAIL PROTECTED]>: > > > > I suspect you probably want –ddump-simpl, which prints the "Core" form.

Re: -ddump-stg code

2007-11-19 Thread Guilherme Avelino
I have two questions about the code generated by -fext-core: 2007/11/19, Simon Peyton-Jones <[EMAIL PROTECTED]>: > > I suspect you probably want –ddump-simpl, which prints the "Core" form. > This is fully typed, unlike STG code which is only partially typed. > > > > If you compile with –fext-co

RE: -ddump-stg code

2007-11-19 Thread Simon Peyton-Jones
I suspect you probably want -ddump-simpl, which prints the "Core" form. This is fully typed, unlike STG code which is only partially typed. If you compile with -fext-core you'll get a printed form which is supposed to be reasonably easy to parse. Tim Chevalier and Aaron Tomb are working on this.

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.