Thread overview
D in your browser? possible?
Jun 17, 2012
Damian
Jun 17, 2012
Ellery Newcomer
Jun 18, 2012
nazriel
Jun 18, 2012
Timon Gehr
Jun 18, 2012
nazriel
Jun 20, 2012
Dejan Lekic
Jun 18, 2012
Manu
June 17, 2012
I've noticed a few languages are adopting this, for example
Haskell: http://tryhaskell.org
Go: http://play.golang.org

Will D get something like this? I find it to be of great use
with Go specifically and I'm sure it would benefit D just as much.
June 17, 2012
On 6/17/12 11:38 AM, Damian wrote:
> I've noticed a few languages are adopting this, for example
> Haskell: http://tryhaskell.org
> Go: http://play.golang.org
>
> Will D get something like this? I find it to be of great use
> with Go specifically and I'm sure it would benefit D just as much.

It's already done as one of Adam Ruppe's 1001 projects in the "proof of concept" stage. We need to convince him to finalize it, it's really cool. We (will) even have the "try it now" thing that can be attached to virtually every code sample on the website.

Andrei
June 17, 2012
On 06/17/2012 11:38 AM, Damian wrote:
> I've noticed a few languages are adopting this, for example
> Haskell: http://tryhaskell.org
> Go: http://play.golang.org

those sure look a lot more polished than ideone.com
June 18, 2012
On Sunday, 17 June 2012 at 16:38:25 UTC, Damian wrote:
> I've noticed a few languages are adopting this, for example
> Haskell: http://tryhaskell.org
> Go: http://play.golang.org
>
> Will D get something like this? I find it to be of great use
> with Go specifically and I'm sure it would benefit D just as much.

Hey.

We are working on something like that.
http://dpaste.dzfl.pl/

At the end we want also to share an API to allow users to use service on their own like in the GO Lang website etc, where you can click Try it now (actually its already done via "Compile" button, where request is sent via AJAX).

(Warning: Compiler section is actually dummy-filled, at the moment only dmd2.059 is avaible).

June 18, 2012
On 06/18/2012 03:47 PM, nazriel wrote:
> On Sunday, 17 June 2012 at 16:38:25 UTC, Damian wrote:
>> I've noticed a few languages are adopting this, for example
>> Haskell: http://tryhaskell.org
>> Go: http://play.golang.org
>>
>> Will D get something like this? I find it to be of great use
>> with Go specifically and I'm sure it would benefit D just as much.
>
> Hey.
>
> We are working on something like that.
> http://dpaste.dzfl.pl/
>
> At the end we want also to share an API to allow users to use service on
> their own like in the GO Lang website etc, where you can click Try it
> now (actually its already done via "Compile" button, where request is
> sent via AJAX).
>
> (Warning: Compiler section is actually dummy-filled, at the moment only
> dmd2.059 is avaible).
>

Very nice.

Why do you use radio buttons in the 'Libraries' section though?
Those are not mutually exclusive.

June 18, 2012
On 17 June 2012 19:38, Damian <damianday@hotmail.co.uk> wrote:

> I've noticed a few languages are adopting this, for example
> Haskell: http://tryhaskell.org
> Go: http://play.golang.org
>
> Will D get something like this? I find it to be of great use
> with Go specifically and I'm sure it would benefit D just as much.
>

A friend of mine started this: https://bitbucket.org/fearog/gdc-nacl

Chrome NaCl (http://en.wikipedia.org/wiki/Google_Native_Client) target for GDC, to run realtime client-side D code in your browser! Yeah!

I'm sure he could use some help ;)


June 18, 2012
On Monday, 18 June 2012 at 14:59:53 UTC, Timon Gehr wrote:
> On 06/18/2012 03:47 PM, nazriel wrote:
>> On Sunday, 17 June 2012 at 16:38:25 UTC, Damian wrote:
>>> I've noticed a few languages are adopting this, for example
>>> Haskell: http://tryhaskell.org
>>> Go: http://play.golang.org
>>>
>>> Will D get something like this? I find it to be of great use
>>> with Go specifically and I'm sure it would benefit D just as much.
>>
>> Hey.
>>
>> We are working on something like that.
>> http://dpaste.dzfl.pl/
>>
>> At the end we want also to share an API to allow users to use service on
>> their own like in the GO Lang website etc, where you can click Try it
>> now (actually its already done via "Compile" button, where request is
>> sent via AJAX).
>>
>> (Warning: Compiler section is actually dummy-filled, at the moment only
>> dmd2.059 is avaible).
>>
>
> Very nice.
>
> Why do you use radio buttons in the 'Libraries' section though?
> Those are not mutually exclusive.

The thing is, we want also provide support for D1, where Tango excludes Phobos and vice-versa.

I am not sure yet how we should handle it, maybe some JS-magic, which would replace checkbox for radiobox when using D1, or just ignoring 2nd choice when using D1.

This is cosmetic change though, can be done anytime (backend supports both libraries in same time)
June 20, 2012
On Mon, 18 Jun 2012 15:47:07 +0200, nazriel wrote:

> On Sunday, 17 June 2012 at 16:38:25 UTC, Damian wrote:
>> I've noticed a few languages are adopting this, for example Haskell:
>> http://tryhaskell.org
>> Go: http://play.golang.org
>>
>> Will D get something like this? I find it to be of great use with Go specifically and I'm sure it would benefit D just as much.
> 
> Hey.
> 
> We are working on something like that. http://dpaste.dzfl.pl/
> 
> At the end we want also to share an API to allow users to use service on their own like in the GO Lang website etc, where you can click Try it now (actually its already done via "Compile" button, where request is sent via AJAX).
> 
> (Warning: Compiler section is actually dummy-filled, at the moment only
> dmd2.059 is avaible).

Amazing work! Well done!



-- 
Dejan Lekic
  mailto:dejan.lekic(a)gmail.com
  http://dejan.lekic.org