Profile

Cover photo
Alan & Kim Zimmerman
68 followers|156,274 views
AboutPostsPhotosVideos

Stream

Alan & Kim Zimmerman

commented on a video on YouTube.
Shared publicly  - 
 
Fabulous, Hitomi. You are such an inspiration. Thank you for this.
1
Add a comment...

Alan & Kim Zimmerman
owner

Discussion  - 
 
A quick State of the nation.

GHC 7.10 RC2 will have API Annotations in it which will allow full round tripping of source code without using tokens.

A library that does this roundtripping is at https://github.com/alanz/ghc-exactprint

This is being integrated into HaRe in the ghc-7.10 branch, and is currently able to do the ifToCase transformation, as the initial proof of concept for the new architecture.  This will result in a considerable simplification of the code, as only the AST now needs to be manipulated (together with the annotations), and all the fiddly token stuff falls away.

So active development of HaRe is starting again, which is being helped by Matthew Pickering who has begun to be involved in the process. There is still plenty of scope for others to get involved, it is a massive project, so please feel free to chip in.

We have also decided to rather use a mailing list than this community, so the emphasis will be shifting to the list at https://groups.google.com/forum/#!forum/hare, please join it.

Regards
  Alan
ghc-exactprint - GHC version of haskell-src-exts exactPrint
1
Add a comment...

Alan & Kim Zimmerman
owner

Discussion  - 
 
HaRe 0.7.1.3 is now on hackage. It has mainly been a stabilisation process, with focus on renaming of real world source code.
1
Add a comment...

Alan & Kim Zimmerman

commented on a video on YouTube.
Shared publicly  - 
 
AWESOME!

Incredible musicality. Looks smooth and effortless - yet so difficult!
1
Add a comment...

Alan & Kim Zimmerman

Shared publicly  - 
 
Hello Sydney
1
Alan & Kim Zimmerman's profile photoErik de Castro Lopo's profile photo
3 comments
 
Wow, that's a really quick trip. I've got tomorrow planned already and I'm working Thirsday and Friday.
Add a comment...

Alan & Kim Zimmerman

commented on a video on YouTube.
Shared publicly  - 
1
Add a comment...
Have him in circles
68 people
Ole Seyersted Sandbu's profile photo
Daniel Reeves's profile photo
Rosemary Malan's profile photo
Neil Zimmerman's profile photo
Mark Morado's profile photo
Carl Meijer's profile photo
Hamidreza Davoodi's profile photo
PHP South Africa Cape Town's profile photo
Ruan Jonker's profile photo

Alan & Kim Zimmerman
owner

Discussion  - 
 
I am conteplating attending ICFP this year, and I see all sorts of deadlines appearing on haskell-cafe.

I am not an academic, and have not attended something like this before.

Would there be any interest in my presenting anything on the state of HaRe and/or the enabling GHC changes in 7.10, and if so what form should it take?

I suspect just getting together with interested people may be the best way.

Any advice will be gladly accepted.

Alan
1
Gershom B's profile photoAlan & Kim Zimmerman's profile photo
4 comments
 
Ok, I will see where things stand closer to the time, it is definitely still in early days of the new version. I do think giving ghc-exactprint some exposure could be useful though.
Add a comment...

Alan & Kim Zimmerman

commented on a video on YouTube.
Shared publicly  - 
 
Learn your words.
1
Add a comment...

Alan & Kim Zimmerman
owner

Discussion  - 
 
HaRe Version 0.7.1.1 corrects the target file path construction by using the cabal file path rather than the current directory path.
1
Add a comment...

Alan & Kim Zimmerman
owner

Discussion  - 
 
Version 0.7.1.0 is out

This one adresses the issue of refactoring multiple main modules : executables, tests, benchmarks, etc.
1
Add a comment...

Alan & Kim Zimmerman
owner

Discussion  - 
 
Version 0.7.0.9 is out.

It is basicaly just tweaks based on some real world use.

I am now eating my own dogfood, and managed to successfully rename variables to get rid of the name shadowing warnings.

The lift and demote refactorings still seem to have some issues, but I will not be able to get to them until late Jan.
2
1
Rob Stewart's profile photo
Add a comment...

Alan & Kim Zimmerman
owner

Discussion  - 
 
I have finally managed to get a new version out, 0.7.0.8.

The major change is a complete rework of the token output stage, to use the same data structure as the diagrams package, namely dual-tree.

This makes the tricky process of ensuring that layout is preserved as changes are made manageable. This is done in a two phase process, the first is to process the ParsedSource which is still (mostly) in linear order and generate a token tree which explicitly represents the subtrees that need to maintain vertical order (do/where/let etc). This is manipulated as before, keeping itin sync with the changing RenamedSource AST.

The second phase generates final output by constructing a DualTree from the TokenTree which bubbles up the source lines to be output, maintaining layout constraints on the way.

In future the Token Tree and Dual Tree should be merged, this was just the first step to make sure it actually works, discarding the Token Tree.

I will be able to deal with issues for the next day or so, but will then be away for a month on my summer holiday, in Australia
1
Add a comment...
People
Have him in circles
68 people
Ole Seyersted Sandbu's profile photo
Daniel Reeves's profile photo
Rosemary Malan's profile photo
Neil Zimmerman's profile photo
Mark Morado's profile photo
Carl Meijer's profile photo
Hamidreza Davoodi's profile photo
PHP South Africa Cape Town's profile photo
Ruan Jonker's profile photo
Basic Information
Gender
Male
Other names
Christie