Examples in this directory can be run simply using a command such as:
rdmd -I"path/to/mach.d" "helloworld/helloworld.d"
Note that the rdmd tool is packaged with the dmd compiler, which can be downloaded from the dlang website here.
Prints "Hello, world!" to stdout.
Prints the lyrics of 99 Bottles to stdout.
Asks the user to input a number via stdin, and then outputs the Collatz sequence of that number to stdout.
Reads json from an input file, modifies it, and then writes the modified content to an output file.
Traverses this examples directory and its subdirectories and finds and prints the paths of all the D source files contained in them.