D Programming/Embedding D in HTML

From Wikibooks, open books for an open world
< D Programming
Jump to: navigation, search

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.

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export