Re: [Haskell-cafe] Tiger compiler: variable escaping analysis phase

2010-06-24 Thread Vo Minh Thu
2010/6/24 José Romildo Malaquias : > On Tue, Jun 22, 2010 at 04:44:09PM +0200, Vo Minh Thu wrote: >> 2010/6/22 José Romildo Malaquias : >> > On Tue, Jun 22, 2010 at 02:54:08PM +0200, Vo Minh Thu wrote: >> >> 2010/6/22 José Romildo Malaquias : >> >> > Hello. >> >> > >> >> > I have been teaching an i

Re: [Haskell-cafe] Tiger compiler: variable escaping analysis phase

2010-06-24 Thread José Romildo Malaquias
On Tue, Jun 22, 2010 at 04:44:09PM +0200, Vo Minh Thu wrote: > 2010/6/22 José Romildo Malaquias : > > On Tue, Jun 22, 2010 at 02:54:08PM +0200, Vo Minh Thu wrote: > >> 2010/6/22 José Romildo Malaquias : > >> > Hello. > >> > > >> > I have been teaching an introductory course on compiler construction

Re: [Haskell-cafe] Tiger compiler: variable escaping analysis phase

2010-06-24 Thread Jason Dagit
2010/6/22 José Romildo Malaquias > Hello. > > I have been teaching an introductory course on compiler construction to > our undergraduates students using Appel's "Modern Compiler > Implementation in Java". There are also versions of the book in ML and > C. The books explain how to write a compile

Re: [Haskell-cafe] Tiger compiler: variable escaping analysis phase

2010-06-22 Thread José Romildo Malaquias
On Tue, Jun 22, 2010 at 10:01:37AM -0300, Felipe Lessa wrote: > On Tue, Jun 22, 2010 at 09:33:22AM -0300, José Romildo Malaquias wrote: > > In the variable escaping analysis phase of the compiler, a function > > findEscape looks for escaping variables and record this information in > > the escape f

Re: [Haskell-cafe] Tiger compiler: variable escaping analysis phase

2010-06-22 Thread Vo Minh Thu
2010/6/22 José Romildo Malaquias : > On Tue, Jun 22, 2010 at 02:54:08PM +0200, Vo Minh Thu wrote: >> 2010/6/22 José Romildo Malaquias : >> > Hello. >> > >> > I have been teaching an introductory course on compiler construction to >> > our undergraduates students using Appel's "Modern Compiler >> >

Re: [Haskell-cafe] Tiger compiler: variable escaping analysis phase

2010-06-22 Thread José Romildo Malaquias
On Tue, Jun 22, 2010 at 02:54:08PM +0200, Vo Minh Thu wrote: > 2010/6/22 José Romildo Malaquias : > > Hello. > > > > I have been teaching an introductory course on compiler construction to > > our undergraduates students using Appel's "Modern Compiler > > Implementation in Java". There are also ver

Re: [Haskell-cafe] Tiger compiler: variable escaping analysis phase

2010-06-22 Thread José Romildo Malaquias
On Tue, Jun 22, 2010 at 02:30:04PM +0100, Stephen Tetley wrote: > Hello > > Doaitse Swierstra has a Tiger compiler written in Haskell + UUAG as a > demonstration for UUAG attribute grammar system. > > The package on Hackage only contains the derived source - i.e not the > original attribute gramm

Re: [Haskell-cafe] Tiger compiler: variable escaping analysis phase

2010-06-22 Thread Stephen Tetley
Hello Doaitse Swierstra has a Tiger compiler written in Haskell + UUAG as a demonstration for UUAG attribute grammar system. The package on Hackage only contains the derived source - i.e not the original attribute grammar code, but the generated Haskell source after running UUAG on the *.ag files

Re: [Haskell-cafe] Tiger compiler: variable escaping analysis phase

2010-06-22 Thread Felipe Lessa
On Tue, Jun 22, 2010 at 09:33:22AM -0300, José Romildo Malaquias wrote: > In the variable escaping analysis phase of the compiler, a function > findEscape looks for escaping variables and record this information in > the escape fields of the abstract syntax. To do this the entire abstract > syntax

Re: [Haskell-cafe] Tiger compiler: variable escaping analysis phase

2010-06-22 Thread Vo Minh Thu
2010/6/22 José Romildo Malaquias : > Hello. > > I have been teaching an introductory course on compiler construction to > our undergraduates students using Appel's "Modern Compiler > Implementation in Java". There are also versions of the book in ML and > C. The books explain how to write a compile

[Haskell-cafe] Tiger compiler: variable escaping analysis phase

2010-06-22 Thread José Romildo Malaquias
Hello. I have been teaching an introductory course on compiler construction to our undergraduates students using Appel's "Modern Compiler Implementation in Java". There are also versions of the book in ML and C. The books explain how to write a compiler for the Tiger programming language. Now I w