dfix 0.2.0

Tool for automatically upgrading D source code


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

dfix

Tool for automatically upgrading D source code

Features

  • 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 when the `--dip64` switch is specified. (Not recommended)
  • Upgrades code to comply with DIP65 unless the `--dip65=false` switch is specified.

Planned Features

  • Movement of function attributes from the left side of the function name to the right.

Notes

dfix will edit your files in-place. Do not use dfix on files that have no backup copies. Source control solves this problem for you. Double-check the results before checking in the modified code.

Authors:
  • Brian Schott
Dependencies:
libdparse
Versions:
0.3.5 2018-Jun-21
0.3.4 2018-Jun-10
0.3.3 2018-Feb-22
0.3.2 2017-Jun-10
0.3.1 2016-Jan-14
Show all 12 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 4 downloads this month

  • 6362 downloads total

Score:
2.1
Short URL:
dfix.dub.pm