Re: [Haskell] refactoring, catamorphism, termination of programs

2007-05-02 Thread C.M.Brown
Hi Jahannes,

 I don't want to make a big research project out of this,
 rather I think of quickly putting together a prototype
 that proves the concept.

 I figure it could be distilled from some existing refactoring suite,
 or be manufactured from existing building blocks.

Well, HaRe -- the Haskell refactorer -- offers a full API for building
transformations and refactorings for the full Haskell 98 standard.

http://www.cs.kent.ac.uk/projects/refactor-fp/hare.html

A new release will hopefully be released very soon (even in the next
few days) which will be compatible with ghc-6.6.1.
The releases on our refactoring page currently only work with GHC-6.4.*.

 E.g. Language.Haskell.* from the ghc libs,
 and perhaps Typing Haskell in Haskell?
 http://citeseer.ist.psu.edu/424440.html

HaRe also uses the GHC API and type checker, with parts of the HaRe API
extended to retrieve type information from GHC on abritrary expressions
and functions.

Kind regards,
Chris.
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] refactoring, catamorphism, termination of programs

2007-05-01 Thread Johannes Waldmann

Dear all,

I'm looking for a tool that implements the source code transformation
replace recursion by catamorphism (fold etc.).

My application is that if the transformation succeeds,
it implies that the program terminates. (roughly)

I don't want to make a big research project out of this,
rather I think of quickly putting together a prototype
that proves the concept.

I figure it could be distilled from some existing refactoring suite,
or be manufactured from existing building blocks.

E.g. Language.Haskell.* from the ghc libs,
and perhaps Typing Haskell in Haskell?
http://citeseer.ist.psu.edu/424440.html

Any hints appreciated.

Of course, if you already have some termination prover
for Haskell programs, using any method whatsoever,
then you're invited to take part
in the FP category of the upcoming Termination Competition,
see http://www.lri.fr/~marche/termination-competition/2007/

(Also, I'd welcome your comments on the proposed form
and semantics of the FP category.)
For discussion, please do not use this list but
http://groups.google.de/group/fp-termination


Best regards, Johannes Waldmann.

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] refactoring, catamorphism, termination of programs

2007-05-01 Thread José Pedro Correia

Hi
Maybe this link is of interest to you:
http://wiki.di.uminho.pt/twiki/bin/view/Research/PURe/WebHome.
A tool called DrHylo, developed in the context of this project is available,
altough I don't know how suitable it could be for you:
http://wiki.di.uminho.pt/twiki/bin/view/Personal/Alcino/DrHylo.

Regards
José Pedro

On 5/1/07, Johannes Waldmann [EMAIL PROTECTED] wrote:


Dear all,

I'm looking for a tool that implements the source code transformation
replace recursion by catamorphism (fold etc.).

My application is that if the transformation succeeds,
it implies that the program terminates. (roughly)

I don't want to make a big research project out of this,
rather I think of quickly putting together a prototype
that proves the concept.

I figure it could be distilled from some existing refactoring suite,
or be manufactured from existing building blocks.

E.g. Language.Haskell.* from the ghc libs,
and perhaps Typing Haskell in Haskell?
http://citeseer.ist.psu.edu/424440.html

Any hints appreciated.

Of course, if you already have some termination prover
for Haskell programs, using any method whatsoever,
then you're invited to take part
in the FP category of the upcoming Termination Competition,
see http://www.lri.fr/~marche/termination-competition/2007/

(Also, I'd welcome your comments on the proposed form
and semantics of the FP category.)
For discussion, please do not use this list but
http://groups.google.de/group/fp-termination


Best regards, Johannes Waldmann.

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell