std2 project started
Bill Baxter
dnewsgroup at billbaxter.com
Wed Oct 31 17:41:24 PDT 2007
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
More information about the Digitalmars-d-announce
mailing list