[Melbourne-pm] Tidyview now available from CPAN

Rob Casey rob.casey at swishgroup.com.au
Mon Oct 16 17:55:56 PDT 2006


> Note - some people feel that perltidy isn't safe to run over 
> their code, for fear it will change the semantics (meaning) 
> of their code. As far as I am aware, there are no bug reports 
> against perltidy stating that this has happened. I've heard 
> TheDamian once wrote a program for a perl obfuscation 
> competition that wasn't tidy'able (selfGOL). This code seems 
> to be hard to track down so I haven't had a chance to confirm 
> this. I feel pretty confidant that semantic changes arent a 
> problem. However, if people really want, I can add a 
> dependency on PPI::Signature to compare the parse trees 
> before and after tidy'ing, to guarantee semantic identity.

SelfGOL can be obtained from
http://libarynth.f0.am/cgi-bin/view/Libarynth/SelfGOL and
http://everything2.com/index.pl?node_id=1143566

 
 
Rob Casey
Swish Interactive
a division of The Swish Group Limited
170 Dorcas Street
South Melbourne, Victoria 3205
Australia
[P] +61 3 9686 6640
[F] +61 3 9686 6680
[M] +61 401 460 490
[E] rob.casey at swishgroup.com.au
 
 

> -----Original Message-----
> From: melbourne-pm-bounces+rob.casey=swishgroup.com.au at pm.org 
> [mailto:melbourne-pm-bounces+rob.casey=swishgroup.com.au at pm.or
> g] On Behalf Of leif.eriksen at hpa.com.au
> Sent: Tuesday, 17 October 2006 10:53 AM
> To: melbourne-pm at pm.org
> Subject: [Melbourne-pm] Tidyview now available from CPAN
> 
>  
> I'm very pleased to announce that tidyview is now available from CPAN.
> 
> Tidyview is a Tk-based GUI previewer for perltidy's many 
> options, to help ease the pain of trying to find just the 
> right set of options for your, or your organisations, 
> preferred coding style. Having a consistently applied coding 
> style, driven by a coding standard if required, is a big aid 
> to QA and debugging.
> 
> Tidyview can read and generate perltidy config files, and 
> displays your code before and after being formatted with the 
> currently selected set of perltidy formatting options. Once 
> your happy, just hit the "Save perltidyrc as..." button and 
> you have a config file for all your code. Tidyview displays 
> its own code if you don't supply a perl file for it.
> 
> Currently it only has Tk-bindings, but patches integrating 
> other bindings are welcome.
> 
> It also has dependencies on Perl::Tidy (part of the perltidy 
> application), Log::Log4perl and version. version.pm is a bit 
> problematic for people on case-insensitive filesystems (win, 
> cygwin etc) - it conflicts with Version.pm. version.pm is 
> used for the qv() operator, so we can test the version of Tk 
> and generate the right (that is, supported by that version) 
> set of widgets. Tidyview supports Tk back to early Tk8 
> releases. Log::log4perl is there to help me during these 
> early alpha days, I will remove it one day.
> 
> CPAN link - http://search.cpan.org/~leif/tidyview-1.09/
> 
> Code is also hosted at sourceforge.
> 
> Note - some people feel that perltidy isn't safe to run over 
> their code, for fear it will change the semantics (meaning) 
> of their code. As far as I am aware, there are no bug reports 
> against perltidy stating that this has happened. I've heard 
> TheDamian once wrote a program for a perl obfuscation 
> competition that wasn't tidy'able (selfGOL). This code seems 
> to be hard to track down so I haven't had a chance to confirm 
> this. I feel pretty confidant that semantic changes arent a 
> problem. However, if people really want, I can add a 
> dependency on PPI::Signature to compare the parse trees 
> before and after tidy'ing, to guarantee semantic identity.
> 
> Leif Eriksen
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.408 / Virus Database: 268.13.4/477 - Release 
> Date: 16/10/2006
>  
> **********************************************************************
> IMPORTANT
> The contents of this e-mail and its attachments are 
> confidential and intended solely for the use of the 
> individual or entity to whom they are addressed.  If you 
> received this e-mail in error, please notify the HPA 
> Postmaster, postmaster at hpa.com.au, then delete  the e-mail.
> This footnote also confirms that this e-mail message has been 
> swept for the presence of computer viruses by Ironport. 
> Before opening or using any attachments, check them for 
> viruses and defects.
> Our liability is limited to resupplying any affected attachments.
> HPA collects personal information to provide and market our 
> services. For more information about use, disclosure and 
> access see our Privacy Policy at www.hpa.com.au
> **********************************************************************
> _______________________________________________
> Melbourne-pm mailing list
> Melbourne-pm at pm.org
> http://mail.pm.org/mailman/listinfo/melbourne-pm
> 


More information about the Melbourne-pm mailing list