Thread overview | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
October 28, 2014 dfix 0.1.1 | ||||
---|---|---|---|---|
| ||||
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. |
October 28, 2014 Re: dfix 0.1.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | 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+
|
October 28, 2014 Re: dfix 0.1.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | Brian Schott:
> https://github.com/Hackerpilot/dfix
Sounds like a very good start :-)
Bye,
bearophile
|
October 28, 2014 Re: dfix 0.1.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | 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.
|
October 28, 2014 Re: dfix 0.1.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | Thank you very much Brian... |
October 29, 2014 Re: dfix 0.1.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | 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
|
October 29, 2014 Re: dfix 0.1.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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.
|
October 29, 2014 Re: dfix 0.1.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | 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
|
October 29, 2014 Re: dfix 0.1.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott Attachments: | 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. > > 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. |
October 29, 2014 Re: dfix 0.1.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel N | 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.
|
Copyright © 1999-2021 by the D Language Foundation