Function compileDietFile

Parses the given diet template at compile time and writes the resulting HTML code into 'stream'.

Note that this function suffers from multiple compiler bugsin conjunction with local variables passed as alias template parameters up to DMD 2.063.2. DMD 2.064 supposedly has these fixed.

Prototypes

void compileDietFile(string template_file, ALIASES...)(
  OutputStream stream__
);

void compileDietFileIndent(string template_file, ulong indent, ALIASES...)(
  OutputStream stream__
);

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.