"Try it now"

Adam D. Ruppe destructionator at gmail.com
Sun Apr 17 12:29:01 PDT 2011


Andrei Alexandrescu wrote:
> Adam, could you please put together a pull request on github?

I've gotta figure out how that works...

> I'd also appreciate if you sent my way a simple script that scrapes
> the HTML for all sample code so we can work on making them work.

Heh, what a coincidence. I just wrote a quick one now:

http://arsdnet.net/d-web-site/extractexamples.d

It's cgi so you can see the output here, but it's trivial to
change, very short program. Fetch my dom library here
http://arsdnet.net/d-web-site/arsd/dom.d

Example output:
http://arsdnet.net/d-web-site/extractexamples


It puts in some generic imports, an empty main, and wraps
everything in unittest {}.


More information about the Digitalmars-d mailing list