On Monday, 19 December 2016 at 17:44:29 UTC, Andrei Alexandrescu wrote:
Take a look e.g. at https://dlang.org/phobos-prerelease/std_algorithm_iteration.html. Examples now have "Edit" and "Run" buttons that allow you to play with them online and see what they output. Changes for the ddox version forthcoming.

Related: https://github.com/dlang/dlang.org/pull/1297, https://issues.dlang.org/show_bug.cgi?id=16984, https://issues.dlang.org/show_bug.cgi?id=16985.

Many thanks to Sebastian Wilzbach who took this to completion, and to Damian Ziemba for working on the online compiler code!


Andrei

It looks great, but I think that the source code should not be hidden when pressing the Run button, instead the application output box should appear above/below the source code :-)

Reply via email to