www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D in your browser? possible?

reply "Damian" <damianday hotmail.co.uk> writes:
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.
Jun 17 2012
next sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
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
Jun 17 2012
prev sibling next sibling parent Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
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
Jun 17 2012
prev sibling next sibling parent reply "nazriel" <nazriel dzfl.pl> writes:
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).
Jun 18 2012
next sibling parent reply Timon Gehr <timon.gehr gmx.ch> writes:
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.
Jun 18 2012
parent "nazriel" <nazriel dzfl.pl> writes:
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)
Jun 18 2012
prev sibling parent Dejan Lekic <dejan.lekic gmail.com> writes:
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
Jun 20 2012
prev sibling parent Manu <turkeyman gmail.com> writes:
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 ;)
Jun 18 2012