On 06/24/2010 05:10 PM, Walter Bright wrote:

Even though D doesn't have a text macro preprocessor, this can be done
using string mixins and a bit of CTFE.

an example, taken to horrible extremes:

http://www.dsource.org/projects/dexcelapi/browser/trunk/src/dxl/biff/Enums.d

Reply via email to