run.dlang.io - a modern way to run D code

Meta jared771 at gmail.com
Thu Dec 14 00:22:15 UTC 2017


On Wednesday, 13 December 2017 at 00:54:07 UTC, H. S. Teoh wrote:
> On Wed, Dec 13, 2017 at 12:50:40AM +0000, Meta via 
> Digitalmars-d-announce wrote:
>> On Tuesday, 12 December 2017 at 18:37:38 UTC, Seb wrote:
>> > After it has been in stealth mode for quite a while, I'm 
>> > happy to announce that there's https://run.dlang.io
> [...]
>> This is a real life saver considering dpaste is blocked at 
>> work. It gets very tedious having to create a file, invoke the 
>> compiler, and run it in 3 separate steps just to test out some 
>> quick snippet.
>
> Can't you just do:
>
> 	rdmd --eval='<insert code here>'
>
> ?
>
>
> T

This works for short snippets that are one-off but I usually like 
to play around with a piece of code and that gets tedious as well 
trying to edit it on the command line. Not to mention trying to 
get quotation marks to match up and escape them correctly.


More information about the Digitalmars-d-announce mailing list