www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Add GDC among compilers of https://run.dlang.io/

reply BoQsc <vaidas.boqsc gmail.com> writes:
Often you want to quickly test if something works consistently 
across compilers.
Please add GDC to the https://run.dlang.io/ to make embeddable 
proofs easier.
Sep 16 2023
parent reply Steven Schveighoffer <schveiguy gmail.com> writes:
On 9/17/23 2:49 AM, BoQsc wrote:
 Often you want to quickly test if something works consistently across 
 compilers.
 Please add GDC to the https://run.dlang.io/ to make embeddable proofs 
 easier.
Have you tried godbolt? I believe gdc is there. I agree it should be available. -Steve
Sep 17 2023
parent reply BoQsc <vaidas.boqsc gmail.com> writes:
On Sunday, 17 September 2023 at 12:12:27 UTC, Steven 
Schveighoffer wrote:
 On 9/17/23 2:49 AM, BoQsc wrote:
 Often you want to quickly test if something works consistently 
 across compilers.
 Please add GDC to the https://run.dlang.io/ to make embeddable 
 proofs easier.
Have you tried godbolt? I believe gdc is there. I agree it should be available. -Steve
I tried, and couldn't figure out how to see the output of even the basic `writeln`. Because of that I'm already in favor of continuing using https://run.dlang.io/ ![pic1](https://i.imgur.com/XDVOuT1.png)
Sep 17 2023
next sibling parent "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
You have the output tab open, my guess is you didn't run it.

Under the compiler drop down box, output -> execute code.
Sep 17 2023
prev sibling parent reply BoQsc <vaidas.boqsc gmail.com> writes:
I seem to have noticed an option to execute the code.
Now the output is visible and seem to work.

![ing2](https://i.imgur.com/zHp6ciF.png)
Sep 17 2023
parent BoQsc <vaidas.boqsc gmail.com> writes:
It seem to not work with `dmd` and `ldc` compilers properly.
`dmd` compiler does not execute at all.
`ldc` stop working after first successful and working output.
Sep 17 2023