On Tuesday, 29 September 2015 at 07:47:31 UTC, Sönke Ludwig wrote:
Am 29.09.2015 um 08:20 schrieb Jonathan M Davis:
(...)

What would probably be more interesting is if dub were turned into a library (or at least, if it guts were turned into a library, and the command-line tool, dub, then used that library), and then IDEs could manipulate the spec files via that library as well as do builds rather than having to run a command-line tool, though it's not necessarily that big a deal for an IDE to just parse the json or to run dub via the
command-line.


It is usable as a library! The API still needs a review pass before it can be declared stable for 1.0.0, though, because it wasn't initially considered as an external API and is still lacking in some areas, such as documentation.

What is missing for IDE based manipulation is just an SDL writer, which is planned for the next release. However, at least initially, that would have to be taken with a grain of salt, as it wouldn't preserve formatting and comments.

Awesome!

- Jonathan M Davis

Reply via email to