On Sunday, 29 January 2012 at 22:34:19 UTC, Andrei Alexandrescu
wrote:
I wish I’d convince a serious hacker to bring things to the
point where
<?d writeln("Hello, world!"); ?>
could be inserted in a web page.
That's very easy.
About 100 lines of simple string manipulation makes it
happen: http://arsdnet.net/dcode/dhp.d
$ ./dhp
hello <?d writef("%s", "andrei"); ?>!
<press control d>
hello andrei!
$
Set up a shebang or htaccess rule or something like that,
and boom, you have it on the web.
But, I'd question the utility of it. I wrote that dhp.d script
over a year ago, and have never actually used it.