Expanding Phobos from a flat hierachy

Jacob Carlborg doob at me.com
Wed Feb 6 08:09:07 PST 2013


On 2013-02-06 15:03, Andrei Alexandrescu wrote:

> That's awesome. I skimmed the docs and the capabilities are pretty much
> what I'd expect. We should push for integrating Orbit in the standard
> distro. That entails a formal proposal, community review and voting etc.
> etc.

This tool has a couple of dependencies on my own libraries (available of 
course) and Tango. I'm not feeling so enthusiastic to remove these 
dependencies.

https://github.com/jacob-carlborg/dstack
https://github.com/jacob-carlborg/mambo

> One question - since you mention replacing Ruby with D, I'm thinking it
> may be a good opportunity to just use D syntax everywhere. The arguments
> have been hashed already - a D user is supposed to know of all syntaxes
> that of D itself etc.

That was what I was referring to.

> Thoughts?

I was thinking having basically the same syntax. One syntax I'm not sure 
what to do about is the hash literal syntax Ruby uses.

orb "dwt", git: "git://github.com/jacob-carlborg/dwt.git"

https://github.com/jacob-carlborg/orbit/wiki/Integration

The above could be translated to:

orb("dwt", ["git" : "git://github.com/jacob-carlborg/dwt.git");

That doesn't look very nice.

Also I might need to be able pass values of different types in the same 
hash. Sure, Variant can be used in that case but that would look even 
more uglier.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list