www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - std2 project started

reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Phobos in D2.x contains some nifty additions.
Most of those additions really do not depend on D2 language features in 
any significant way, yet the source code is incompatible with the D1.x 
compiler because of const and invariant.

Meanwhile, it has been decreed that Phobos 1.x won't be getting any 
further updates besides bug fixes, that Phobos 1.x will just retain its 
gaping API holes forever.

This project aims to make some of the Phobos 2.x functionality available 
to D1.x users via a 'std2' package.

Currently the port consists of the following Phobos 2.006 modules:

    std2.contracts
    std2.conv
    std2.getopt
    std2.string
    std2.traits
    std2.variant

The url for checkout is
    http://svn.dsource.org/projects/std2/trunk/std2

The idea is that you substitute one of those std2 modules in place of an 
import of the regular std module to get the new functionality.

I don't plan to spend a whole lot of time on this, but it shouldn't 
require a whole lot of time.  The above modules took about an hour to 
port altogether.  Volunteers to port new modules and apply updates when 
new DMD's are released are certainly welcome.

--bb
Oct 31 2007
parent Marcin Kuszczak <aarti_nospam please_interia.pl> writes:
Bill Baxter wrote:

 Phobos in D2.x contains some nifty additions.
 Most of those additions really do not depend on D2 language features in
 any significant way, yet the source code is incompatible with the D1.x
 compiler because of const and invariant.
 
 Meanwhile, it has been decreed that Phobos 1.x won't be getting any
 further updates besides bug fixes, that Phobos 1.x will just retain its
 gaping API holes forever.
 
 This project aims to make some of the Phobos 2.x functionality available
 to D1.x users via a 'std2' package.
 
 Currently the port consists of the following Phobos 2.006 modules:
 
     std2.contracts
     std2.conv
     std2.getopt
     std2.string
     std2.traits
     std2.variant
 
 The url for checkout is
     http://svn.dsource.org/projects/std2/trunk/std2
 
 The idea is that you substitute one of those std2 modules in place of an
 import of the regular std module to get the new functionality.
 
 I don't plan to spend a whole lot of time on this, but it shouldn't
 require a whole lot of time.  The above modules took about an hour to
 port altogether.  Volunteers to port new modules and apply updates when
 new DMD's are released are certainly welcome.
 
 --bb
Great! I will probably port Program Options into variant from std2. Thanks! -- Regards Marcin Kuszczak (Aarti_pl) ------------------------------------- Ask me why... I believe in Jesus - http://www.zapytajmnie.com (en/pl) Doost (port of few Boost libraries) - http://www.dsource.org/projects/doost/ -------------------------------------
Nov 01 2007