Please send me your puppet formatting puzzles...

31 views
Skip to first unread message

Henrik Lindberg

unread,
Jul 26, 2012, 11:11:58 AM7/26/12
to puppet...@googlegroups.com, puppet-...@googlegroups.com
Hi,
I have been working on a new puppet code formatter for Geppetto for some
time, and it is now starting to work quite well. The plan is to release
it in Geppetto 3.0.

If you want to, you can help by sending "formatting puzzles" - i.e.
"given input x, produce formatted result y".

I am esp. looking for code where it is impossible to follow "the style
guide" - long input, use of comments in funny places, etc.

All other comments, or requests regarding formatting are also very welcome.

Respond in any way you like although logged issues at
https://github.com/cloudsmith/geppetto/issues are preferred.

Regards
- henrik

llo...@oreillyauto.com

unread,
Jul 26, 2012, 12:03:22 PM7/26/12
to puppet...@googlegroups.com, puppet-...@googlegroups.com


On Thursday, July 26, 2012 10:11:58 AM UTC-5, Henrik Lindberg wrote:
Hi,
I have been working on a new puppet code formatter for Geppetto for some
time, and it is now starting to work quite well. The plan is to release
it in Geppetto 3.0.


Sounds promising.
 
If you want to, you can help by sending "formatting puzzles" - i.e.
"given input x, produce formatted result y".

I am esp. looking for code where it is impossible to follow "the style
guide" - long input, use of comments in funny places, etc.


Long input is a big one for me.
 
All other comments, or requests regarding formatting are also very welcome.

Respond in any way you like although logged issues at
https://github.com/cloudsmith/geppetto/issues are preferred.


Is there a specific issue that should be used, or should one be filed for these puzzles?
 
-Lee

Henrik Lindberg

unread,
Jul 26, 2012, 5:04:25 PM7/26/12
to puppet...@googlegroups.com
I forgot to cross post my reply:

On 2012-26-07 18:03, llo...@oreillyauto.com wrote:
> Is there a specific issue that should be used, or should one be filed
> for these puzzles?

Please just file a new issue, it helps if you also label it with the tag
"formatter".

Meanwhile, the approach on "long input" is to try to wrap long lines. If
there are no wrappable positions, the long input is kept as is.
I am currently looking at formatting comments, rewrapping text etc.

Looking forward to some puzzles...

- henrik
Reply all
Reply to author
Forward
0 new messages