Open main menu

Wikibooks β

D Programming/Embedding D in HTML

< D Programming

The dmd compiler has the capability to read an .html file as source. Every code between

<code>void main(){}</code> 

... is treated as D code, and dmd will compile it.