Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

try it now stuff #8

Closed
wants to merge 4 commits into from

3 participants

@adamdruppe
Collaborator

This includes the trivial changes for try it now support - adding a little css and linking in the script. I only changed doc.ddoc, not std.ddoc, since the latter doesn't seem to be used here.

@WalterBright

I tried it with http://www.digitalmars.com/d/index.html, but the example program simply outputs '#'. It works from the command line on my system.

@adamdruppe
Collaborator
@WalterBright

I'm using IE. The # is black. If I shorten it to

#!/usr/bin/dmd -run
/* sh style script syntax is supported */

/* Hello World in D
To compile:
dmd hello.d
or to optimize:
dmd -O -inline -release hello.d
*/

import std.stdio;

void main(string[] args)
{
writeln("Hello World, Reloaded");

}

it works as expected.

@WalterBright

Somehow, it's the existence of the "struct specs" definition that causes it to fail.

@andralex
Owner

Since the site now benefits of nazriel's work, maybe I should close this? Apologies @adamdruppe

@adamdruppe
Collaborator
@andralex
Owner

Thanks, Adam. Let's get to integrate your cgi stuff when you get a bit unswamped.

@andralex andralex closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  doc.ddoc
View
1  doc.ddoc
@@ -94,6 +94,7 @@ function showHideAnswer(zis)
$(BODY)
$(FOOTER)
+<script src="http://completelyexpendable.info/editable_code.js"></script>
</body>
</html>
Something went wrong with that request. Please try again.