Re: dfix 0.1.1

2014-10-29 Thread FrankLike via Digitalmars-d-announce

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


Re: dfix 0.1.1

2014-10-29 Thread ketmar via Digitalmars-d-announce
On Tue, 28 Oct 2014 01:29:30 +
Brian Schott via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com 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.
great! haven't tried it yet, but it's great that we now have such tool.


signature.asc
Description: PGP signature


Re: dfix 0.1.1

2014-10-29 Thread Martin Nowak via Digitalmars-d-announce

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.


Re: dfix 0.1.1

2014-10-28 Thread Daniel N via Digitalmars-d-announce

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+


Re: dfix 0.1.1

2014-10-28 Thread bearophile via Digitalmars-d-announce

Brian Schott:


https://github.com/Hackerpilot/dfix


Sounds like a very good start :-)

Bye,
bearophile


Re: dfix 0.1.1

2014-10-28 Thread Atila Neves via Digitalmars-d-announce

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.




Re: dfix 0.1.1

2014-10-28 Thread Andrei Alexandrescu via Digitalmars-d-announce

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


Re: dfix 0.1.1

2014-10-28 Thread Brian Schott via Digitalmars-d-announce
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.




dfix 0.1.1

2014-10-27 Thread Brian Schott via Digitalmars-d-announce

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.