Re:Want to call C from Python? Use D
by WalterBright on Wednesday February 19, 2020 @01:37PM
(#22368534)
D comes with an interesting utility called `dman`. Run it from the command line and as an argument give it a D topic and it'll open a browser on the topic.
dman dman
will, of course, open the browser on a page about dman.Which, as I noted, is still a very different experience from go/nim/rust in Debian. It wasn't a pet peeve about no documentation, it is about how I can interact with it compared to to other languages.
Re:Want to call C from Python? Use D
by alphaglosined on Wednesday February 19, 2020 @11:39AM
(#22367144)
It is provided by dmd as part of the download.
You can also get soft copies (i.e. mobi, pdf) and the docs as part of the d-apt repository for debian.
Depending on the nature of distribution it is probably just in a different package (or the package maintainer needs yelling at).
> It is provided by dmd as part of the download.
Which leads me to wonder why we don't have dmd{,-doc} in Debian now, given it has been ~3 years since the compiler was open sourced. I can't even find an ITP in a quick search :/
Re:Want to call C from Python? Use D
by WalterBright on Wednesday February 19, 2020 @01:38PM
(#22368554)
D command line tools have a `-man` switch which will open the browser on the manual for the tool, such as:
dmd -man
Re:Want to call C from Python? Use D
by dguaraglia on Wednesday February 19, 2020 @12:13PM
(#22367573)
I'd recommend using Dash (on Os X) or Zeal (Linux and Windows) if you want to have an easily browseable local version of the docs.
1. gdc or ldc on Debian. The experience /may/ be different with the dmd repositories, but being external they're of less interest to me.