I have created an empty Task in that site that I think is particularly fit for D compile-time evaluation and code generation (it's probably also fit for Lisp macros), and perhaps a D solution for this little coding problem could even be useful:
http://rosettacode.org/wiki/ASCII_art_diagram_converter A D solution is welcome. Bye, bearophile
