www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - dfix 0.1.1

reply "Brian Schott" <briancschott gmail.com> writes:
No. Really. I'm serious.

https://github.com/Hackerpilot/dfix

dfix is a tool for automatically upgrading older D syntax to the 
newer style.

* Updates old-style alias syntax to new-style
* Fixes implicit concatenation of string literals
* Automatic conversion of C-style array declarations and 
parameters to D-style.
* Upgrades code to comply with DIP64 if the --dip64 switch is 
specified. (You
   probably don't want to use this)
* Upgrades code to comply with DIP65 unless the --dip65=false 
switch is specified.
Oct 27 2014
next sibling parent reply "Daniel N" <ufo orbiting.us> writes:
On Tuesday, 28 October 2014 at 01:29:32 UTC, Brian Schott wrote:
 No. Really. I'm serious.

 https://github.com/Hackerpilot/dfix

 dfix is a tool for automatically upgrading older D syntax to 
 the newer style.

 * Updates old-style alias syntax to new-style
 * Fixes implicit concatenation of string literals
 * Automatic conversion of C-style array declarations and 
 parameters to D-style.
 * Upgrades code to comply with DIP64 if the --dip64 switch is 
 specified. (You
   probably don't want to use this)
 * Upgrades code to comply with DIP65 unless the --dip65=false 
 switch is specified.
Awesome, would be nice if it was included with the default install for 2.067+
Oct 28 2014
parent Martin Nowak <code+news.digitalmars dawg.eu> writes:
On 10/28/2014 09:07 AM, Daniel N wrote:
 Awesome, would be nice if it was included with the default install for
 2.067+
It says 0.1.x, maybe when it's over 0.5.x :). In any case I'm really glad to see this moving forward.
Oct 29 2014
prev sibling next sibling parent "bearophile" <bearophileHUGS lycos.com> writes:
Brian Schott:

 https://github.com/Hackerpilot/dfix
Sounds like a very good start :-) Bye, bearophile
Oct 28 2014
prev sibling next sibling parent "Atila Neves" <atila.neves gmail.com> writes:
Good work, man.

Atila

On Tuesday, 28 October 2014 at 01:29:32 UTC, Brian Schott wrote:
 No. Really. I'm serious.

 https://github.com/Hackerpilot/dfix

 dfix is a tool for automatically upgrading older D syntax to 
 the newer style.

 * Updates old-style alias syntax to new-style
 * Fixes implicit concatenation of string literals
 * Automatic conversion of C-style array declarations and 
 parameters to D-style.
 * Upgrades code to comply with DIP64 if the --dip64 switch is 
 specified. (You
   probably don't want to use this)
 * Upgrades code to comply with DIP65 unless the --dip65=false 
 switch is specified.
Oct 28 2014
prev sibling next sibling parent "Orfeo" <orfeo.davia gmail.com> writes:
Thank you very much Brian...
Oct 28 2014
prev sibling next sibling parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 10/27/14 6:29 PM, Brian Schott wrote:
 No. Really. I'm serious.

 https://github.com/Hackerpilot/dfix

 dfix is a tool for automatically upgrading older D syntax to the newer
 style.

 * Updates old-style alias syntax to new-style
 * Fixes implicit concatenation of string literals
 * Automatic conversion of C-style array declarations and parameters to
 D-style.
 * Upgrades code to comply with DIP64 if the --dip64 switch is specified.
 (You
    probably don't want to use this)
 * Upgrades code to comply with DIP65 unless the --dip65=false switch is
 specified.
Cool! Is it idempotent if ran twice? -- Andrei
Oct 28 2014
parent "Brian Schott" <briancschott gmail.com> writes:
On Wednesday, 29 October 2014 at 02:10:09 UTC, Andrei 
Alexandrescu wrote:
 Cool! Is it idempotent if ran twice? -- Andrei
It should be. If you find a case where running dfix on the output of dfix causes a change, please file an issue on Github.
Oct 28 2014
prev sibling next sibling parent "FrankLike" <1150015857 qq.com> writes:
On Tuesday, 28 October 2014 at 01:29:32 UTC, Brian Schott wrote:
 No. Really. I'm serious.

 https://github.com/Hackerpilot/dfix

 dfix is a tool for automatically upgrading older D syntax to 
 the newer style.

 * Updates old-style alias syntax to new-style
 * Fixes implicit concatenation of string literals
 * Automatic conversion of C-style array declarations and 
 parameters to D-style.
 * Upgrades code to comply with DIP64 if the --dip64 switch is 
 specified. (You
   probably don't want to use this)
 * Upgrades code to comply with DIP65 unless the --dip65=false 
 switch is specified.
Very Cool! Please register in code.dlang.org. FrankLike
Oct 29 2014
prev sibling parent ketmar via Digitalmars-d-announce <digitalmars-d-announce puremagic.com> writes:
On Tue, 28 Oct 2014 01:29:30 +0000
Brian Schott via Digitalmars-d-announce
<digitalmars-d-announce puremagic.com> wrote:

 No. Really. I'm serious.
=20
 https://github.com/Hackerpilot/dfix
=20
 dfix is a tool for automatically upgrading older D syntax to the=20
 newer style.
=20
 * Updates old-style alias syntax to new-style
 * Fixes implicit concatenation of string literals
 * Automatic conversion of C-style array declarations and=20
 parameters to D-style.
 * Upgrades code to comply with DIP64 if the --dip64 switch is=20
 specified. (You
    probably don't want to use this)
 * Upgrades code to comply with DIP65 unless the --dip65=3Dfalse=20
 switch is specified.
great! haven't tried it yet, but it's great that we now have such tool.
Oct 29 2014