www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Why dfmt, dcd, dscanner, ... are not bundled together?

reply aberba <karabutaworld gmail.com> writes:
These tool seem core to D development and will likely simplify 
plugin dev. Are there any technical reasons why they are not 
bundled together in installer (such that each release comes with 
compatible versions of tools)?

In Ubuntu, there is a repo with all these tools and they work OK.
May 17 2017
next sibling parent aberba <karabutaworld gmail.com> writes:
On Wednesday, 17 May 2017 at 09:00:12 UTC, aberba wrote:
 These tool seem core to D development and will likely simplify 
 plugin dev. Are there any technical reasons why they are not 
 bundled together in installer (such that each release comes 
 with compatible versions of tools)?

 In Ubuntu, there is a repo with all these tools and they work 
 OK.
And just recently, dmd snap comes with some tools bundled.
May 17 2017
prev sibling next sibling parent Basile B. <b2.temp gmx.com> writes:
On Wednesday, 17 May 2017 at 09:00:12 UTC, aberba wrote:
 These tool seem core to D development and will likely simplify 
 plugin dev. Are there any technical reasons why they are not 
 bundled together in installer (such that each release comes 
 with compatible versions of tools)?
Technically there are no blockers. Each product use more or less the same base libraries (mainly libdparse) but with git submodules or DUB tag the right version can be selected individually.
May 17 2017
prev sibling next sibling parent Joakim <dlang joakim.fea.st> writes:
On Wednesday, 17 May 2017 at 09:00:12 UTC, aberba wrote:
 These tool seem core to D development and will likely simplify 
 plugin dev. Are there any technical reasons why they are not 
 bundled together in installer (such that each release comes 
 with compatible versions of tools)?

 In Ubuntu, there is a repo with all these tools and they work 
 OK.
Likely lack of time more than anything else: https://github.com/dlang-community/D-Scanner/issues/353 If you have the time and want it in, maybe you can chip in?
May 17 2017
prev sibling parent reply Seb <seb wilzba.ch> writes:
On Wednesday, 17 May 2017 at 09:00:12 UTC, aberba wrote:
 These tool seem core to D development and will likely simplify 
 plugin dev. Are there any technical reasons why they are not 
 bundled together in installer (such that each release comes 
 with compatible versions of tools)?

 In Ubuntu, there is a repo with all these tools and they work 
 OK.
There's also the hope that one day SDC or dmd-fe can be used for plugin development as libdparse and its tools are inherently quite limited due to a missing semantic analysis phase. Furthermore it's also a bit political e.g. https://github.com/dlang-community/dfmt/issues/249 However, since a couple of days these tools have been moved to a community-maintained organization: http://forum.dlang.org/post/abbprxuwgqlmuuwdfgmg forum.dlang.org This means that development in this area is a lot easier. A couple of ideas: 1) Now that DMD can be packaged for distro, these tools could be put into the main distro (Debian/Ubuntu, Fedora/CentOS, openSUSE, ...) as well [1] 2) An bundled release could be automatically created on every commit to these repos [2] I also opened these topics on dlang-community/discussions: [1] Distro packaging: https://github.com/dlang-community/discussions/issues/8 [2] Bundled releases: https://github.com/dlang-community/discussions/issues/9
May 17 2017
parent Jacob Carlborg <doob me.com> writes:
On 2017-05-17 12:01, Seb wrote:

 There's also the hope that one day SDC or dmd-fe can be used for plugin
 development as libdparse and its tools are inherently quite limited due
 to a missing semantic analysis phase.
I agree. Although the tools based on libdparse are here today and are working. The DMD frontend is far from being ready to be used as a library. Then the tools need to be built on top of the library as well. I have no idea about the status of SDC. I think they should be included. Perhaps later when the DMD frontend is ready, the same tools can be included, just based on a different library. -- /Jacob Carlborg
May 17 2017