progress-dmd: compilation with a progress bar

FeepingCreature feepingcreature at gmail.com
Fri Feb 22 08:36:24 UTC 2019


https://gist.github.com/FeepingCreature/6c67479c99bc0f20544d1e455622ae82

Usage: DMD=<path> progress-dmd <args>

The script sets -v and then uses the code and semantic stages 
logged in the output to paint a cute little ANSI-colored progress 
bar, with one character for every file listed on the command line.

Problems:

  - lots of time spent in function compilation cannot be cleanly 
attributed to a source module
  - sometimes with very long progress bars, regular compiler 
output can leave pieces of progress bar behind
  - colored progress bar painting is surprisingly hard



More information about the Digitalmars-d-announce mailing list