January 28, 2018
On Saturday, 27 January 2018 at 02:33:19 UTC, Mike Franklin wrote:
> On Saturday, 27 January 2018 at 01:31:45 UTC, Seb wrote:
>
>> https://github.com/dlang-tour/core/pull/649
>>
>> It's fixed now. I have also increased the maximal output limit to 500.000 bytes - I hope that's enough for everyone :O
>
> Seb, you're awesome!  Thanks for all these great features.
>
> Mike

You are very welcome. I have an additional bonus feature for all the power users out there:

CTRL+Enter -> run
CTRL+R     -> reset
CTRL+S     -> shorten (+uses dirty JS workaround to copy the URL to your clipboard)
ALT+F      -> format (I didn't want to overload the CTRL+F shortcut as it might be useful to people)

I hope that covers it for everyone. Otherwise please open an issue (https://github.com/dlang-tour/core/issues/new) or PR.
January 28, 2018
On Sunday, 28 January 2018 at 17:06:36 UTC, Seb wrote:
> CTRL+Enter -> run

Thanks for reading my mind!

You people are awesome.

February 07, 2018
On Sunday, 28 January 2018 at 22:49:35 UTC, Bastiaan Veelo wrote:
> On Sunday, 28 January 2018 at 17:06:36 UTC, Seb wrote:
>> CTRL+Enter -> run
>
> Thanks for reading my mind!
>
> You people are awesome.

Anything else on your mind? It's getting harder to read.

For large display, I added two more buttons: -X (JSON) and -D (Ddoc output)
As usual, you can you also add the flags directly in the toolbar:

https://run.dlang.io/is/8nLYZS (JSON)
https://run.dlang.io/is/H15Ynh (Ddoc)

I also updated the supported libraries, e.g. emsi_containers or mir-random are new additions:

https://run.dlang.io/is/vSUTf6

The DUB libraries are now also updated automatically every day.
Oh and it's now integrated with e.g. the mir documentation too:

http://docs.algorithm.dlang.io/latest/mir_ndslice_algorithm.html
February 07, 2018
On Wednesday, 7 February 2018 at 01:15:14 UTC, Seb wrote:
> [snip]
> https://run.dlang.io/is/vSUTf6
>
> The DUB libraries are now also updated automatically every day.
> Oh and it's now integrated with e.g. the mir documentation too:
>
> http://docs.algorithm.dlang.io/latest/mir_ndslice_algorithm.html

I was pretty excited to see those PRs, but I hadn't had a chance to play with it.
February 07, 2018
On Sunday, 14 January 2018 at 04:18:41 UTC, Seb wrote:
>
> 1) Assembly output

This is great, thanks for this tool!

Does it support using DMD's optimizer (-O)? I'd like to check ASM  output of Bug 16189 with different compilers.
February 07, 2018
On Wednesday, 7 February 2018 at 02:20:37 UTC, Kirr wrote:
> On Sunday, 14 January 2018 at 04:18:41 UTC, Seb wrote:
>>
>> 1) Assembly output
>
> This is great, thanks for this tool!
>
> Does it support using DMD's optimizer (-O)? I'd like to check ASM
>  output of Bug 16189 with different compilers.

Yes, all CLI flags are supported.
-asm for DMD is the only virtual one because DMD doesn't support it out of the box (LDC supports -output-s), though to be fair DMD ships with obj2asm and ddemangle, so -asm is a trivial mapping to something like:

dmd -c "${args}[@]}"
obj2asm onlineapp.o | ddemangle

Also I recommend using -betterC when looking at the assembly as it won't generate a ModuleInfo and thus will lead to a shorter output.

Examples:

https://run.dlang.io/is/dawnVy

(add -inline here)

https://run.dlang.io/is/hDWDlI

(add -O here)


February 07, 2018
On Wednesday, 7 February 2018 at 01:15:14 UTC, Seb wrote:
> https://run.dlang.io/is/vSUTf6

Press [Run] and it shows "42". OK
Press [-X]  and it shows "42". ??
Press [-D]  and it shows "42". ??

February 07, 2018
On Wednesday, 7 February 2018 at 12:17:11 UTC, Bastiaan Veelo wrote:
> On Wednesday, 7 February 2018 at 01:15:14 UTC, Seb wrote:
>> https://run.dlang.io/is/vSUTf6
>
> Press [Run] and it shows "42". OK
> Press [-X]  and it shows "42". ??
> Press [-D]  and it shows "42". ??

I think I recently bumped into the same issue: https://github.com/dlang-tour/core/issues/668. Should be relatively simple to fix.
February 07, 2018
On Wednesday, 7 February 2018 at 12:17:11 UTC, Bastiaan Veelo wrote:
> On Wednesday, 7 February 2018 at 01:15:14 UTC, Seb wrote:
>> https://run.dlang.io/is/vSUTf6
>
> Press [Run] and it shows "42". OK
> Press [-X]  and it shows "42". ??
> Press [-D]  and it shows "42". ??

These options aren't supported for DUB packages (yet). I will hide them from the UI for now if a DUB package has been selected.
1 2
Next ›   Last »