www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Good D REPL?

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.com> writes:
Hello, a coworker was wondering what D REPL would be the best choice - 
i.e. well-maintained, good quality etc. Thanks!
Jun 10
parent reply rikki cattermole <rikki cattermole.co.nz> writes:
On 11/06/2020 8:08 AM, Andrei Alexandrescu wrote:
 Hello, a coworker was wondering what D REPL would be the best choice - 
 i.e. well-maintained, good quality etc. Thanks!
The only one I can think of: https://github.com/dlang-community/drepl "Works on any OS with full shared library support by DMD (currently linux, OSX, and FreeBSD)." Err, I should pull some PR's got a few there and last change was 2+ years ago.
Jun 10
next sibling parent Jan =?UTF-8?B?SMO2bmln?= <hrominium gmail.com> writes:
On Thursday, 11 June 2020 at 00:40:47 UTC, rikki cattermole wrote:
 On 11/06/2020 8:08 AM, Andrei Alexandrescu wrote:
 Hello, a coworker was wondering what D REPL would be the best 
 choice - i.e. well-maintained, good quality etc. Thanks!
The only one I can think of: https://github.com/dlang-community/drepl "Works on any OS with full shared library support by DMD (currently linux, OSX, and FreeBSD)." Err, I should pull some PR's got a few there and last change was 2+ years ago.
Btw. Did someone already try to combine drepl with jupyter-wire [1]. Jupyter is easy to use and (at least for Python) a good interactive development tool. (I know. Common Lisp users would argue that slime+emacs is better) [1]: https://github.com/symmetryinvestments/jupyter-wire
Jun 11
prev sibling next sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 6/10/20 8:40 PM, rikki cattermole wrote:
 On 11/06/2020 8:08 AM, Andrei Alexandrescu wrote:
 Hello, a coworker was wondering what D REPL would be the best choice - 
 i.e. well-maintained, good quality etc. Thanks!
The only one I can think of: https://github.com/dlang-community/drepl "Works on any OS with full shared library support by DMD (currently linux, OSX, and FreeBSD)." Err, I should pull some PR's got a few there and last change was 2+ years ago.
Looking good. Thanks much!
Jun 12
prev sibling parent reply jmh530 <john.michael.hall gmail.com> writes:
On Thursday, 11 June 2020 at 00:40:47 UTC, rikki cattermole wrote:
 On 11/06/2020 8:08 AM, Andrei Alexandrescu wrote:
 Hello, a coworker was wondering what D REPL would be the best 
 choice - i.e. well-maintained, good quality etc. Thanks!
The only one I can think of: https://github.com/dlang-community/drepl "Works on any OS with full shared library support by DMD (currently linux, OSX, and FreeBSD)." Err, I should pull some PR's got a few there and last change was 2+ years ago.
What are the limitations on getting this working for Windows exactly? I hear full shared library support and I’ve heard long-standing complaints about Windows DLLs, but I don’t really recall. Is this something that can be a project people can donate to?
Jun 13
parent reply rikki cattermole <rikki cattermole.co.nz> writes:
On 14/06/2020 2:28 PM, jmh530 wrote:
 Is this something that can be a project people can donate to?
I've asked Mike about this, given the amount I could put towards it, it wasn't enough given nobody was in mind.
Jun 13
parent reply Mike Parker <aldacron gmail.com> writes:
On Sunday, 14 June 2020 at 03:57:30 UTC, rikki cattermole wrote:
 On 14/06/2020 2:28 PM, jmh530 wrote:
 Is this something that can be a project people can donate to?
I've asked Mike about this, given the amount I could put towards it, it wasn't enough given nobody was in mind.
What you or anyone can do is seed a bounty on the Task Bounties page and anyone else who would like to support it can contribute to it. Maybe it will reach a level that will motivate someone to take it on. There's also the possibility of contract work from the HR fund. If anyone interested in taking it on would like to propose a clear path to get the job done, then perhaps a contract can be negotiated with the foundation. As always, all that's missing is someone willing to do the work, for pay or otherwise.
Jun 13
parent reply Mike Parker <aldacron gmail.com> writes:
On Sunday, 14 June 2020 at 04:10:55 UTC, Mike Parker wrote:

 What you or anyone can do is seed a bounty on the Task Bounties 
 page
Forgot the link: https://www.flipcause.com/secure/cause_pdetails/NjI2Njg=
Jun 13
parent reply rikki cattermole <rikki cattermole.co.nz> writes:
On 14/06/2020 4:11 PM, Mike Parker wrote:
 On Sunday, 14 June 2020 at 04:10:55 UTC, Mike Parker wrote:
 
 What you or anyone can do is seed a bounty on the Task Bounties page
Forgot the link: https://www.flipcause.com/secure/cause_pdetails/NjI2Njg=
Done. And yes I know its below what I have stated I am committed to for this issue (money is 100% assigned atm for me).
Jun 13
parent reply Mike Parker <aldacron gmail.com> writes:
On Sunday, 14 June 2020 at 05:40:45 UTC, rikki cattermole wrote:
 On 14/06/2020 4:11 PM, Mike Parker wrote:
 On Sunday, 14 June 2020 at 04:10:55 UTC, Mike Parker wrote:
 
 What you or anyone can do is seed a bounty on the Task 
 Bounties page
Forgot the link: https://www.flipcause.com/secure/cause_pdetails/NjI2Njg=
Done. most people. And yes I know its below what I have stated I am committed to for this issue (money is 100% assigned atm for me).
Thanks, Rikki. I've supplemented your initial donation with a bit from the General Fund. https://www.flipcause.com/secure/cause_pdetails/ODcyMDE=
Jun 13
next sibling parent reply Johannes Pfau <nospam example.com> writes:
Am Sun, 14 Jun 2020 06:56:57 +0000 schrieb Mike Parker:

 On Sunday, 14 June 2020 at 05:40:45 UTC, rikki cattermole wrote:
 On 14/06/2020 4:11 PM, Mike Parker wrote:
 On Sunday, 14 June 2020 at 04:10:55 UTC, Mike Parker wrote:
 
 
 What you or anyone can do is seed a bounty on the Task Bounties page
Forgot the link: https://www.flipcause.com/secure/cause_pdetails/NjI2Njg=
Done. people. And yes I know its below what I have stated I am committed to for this issue (money is 100% assigned atm for me).
Thanks, Rikki. I've supplemented your initial donation with a bit from the General Fund. https://www.flipcause.com/secure/cause_pdetails/ODcyMDE=
As far as I remember, what's really needed for full DLL support is a druntime.dll. And this probably requires to finally specify and apply the export attribute: https://github.com/dlang/DIPs/blob/master/DIPs/archive/DIP45.md I think this was Benjamin's latest update on the issue: https://forum.dlang.org/thread/p2r892$ftu$1 digitalmars.com?page=1 -- Johannes
Jun 14
parent rikki cattermole <rikki cattermole.co.nz> writes:
On 14/06/2020 7:50 PM, Johannes Pfau wrote:
 As far as I remember, what's really needed for full DLL support is a
 druntime.dll. And this probably requires to finally specify and apply the
 export attribute:
 
 https://github.com/dlang/DIPs/blob/master/DIPs/archive/DIP45.md
 
 I think this was Benjamin's latest update on the issue:
 https://forum.dlang.org/thread/p2r892$ftu$1 digitalmars.com?page=1
I included export as one of the issues that needs to be resolved for proper shared library support. The two I gave, won't get us to 100%, and may need to be paid out differently based upon how things break down. But it should get us close to usable everywhere :)
Jun 14
prev sibling parent jmh530 <john.michael.hall gmail.com> writes:
On Sunday, 14 June 2020 at 06:56:57 UTC, Mike Parker wrote:
 [snip]

 Thanks, Rikki. I've supplemented your initial donation with a 
 bit from the General Fund.

 https://www.flipcause.com/secure/cause_pdetails/ODcyMDE=
Just matched it.
Jun 14