Expanding Phobos from a flat hierachy

Jens Mueller jens.k.mueller at gmx.de
Wed Feb 6 09:35:07 PST 2013


Jacob Carlborg wrote:
> On 2013-02-06 15:03, Andrei Alexandrescu wrote:
> >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.

How about using YAML/JSON?
name: dwt
source: git://github.com/jacob-carlborg/dwt.git

Jens


More information about the Digitalmars-d mailing list