digitalmars.D.announce - Orange - a serialization library
- Jacob Carlborg (13/13) Jul 25 2010 This if the first release of the Orange serialization library. Here is a...
- BLS (3/4) Jul 27 2010 XML D2/Phobos problem solved ?
- Jacob Carlborg (5/9) Jul 27 2010 Yes, it's fixed. I'm including a modified version of the whole std.xml
- Masahiro Nakagawa (5/14) Jul 27 2010 One question.
- g g (2/25) Jul 27 2010 Cause it isn't necessary for tango or even lexicaly incorrect for some v...
- Masahiro Nakagawa (3/29) Jul 27 2010 Thanks. I didn't know this technique.
- Jacob Carlborg (7/32) Jul 28 2010 Exactly, there a several features in D2 that is lexical illegal in D1. I...
- strtr (4/8) Jul 28 2010 Funny solution :)
- Jacob Carlborg (3/11) Jul 28 2010 The difference is that I added a parent attribute to the Element class, ...
- dsimcha (8/19) Jul 27 2010 Nice work! I'll try it out eventually, but right now I've been too busy...
- Jacob Carlborg (5/24) Jul 27 2010 Thanks. I'm more than happy to make the necessary changes to include
This if the first release of the Orange serialization library. Here is a short description of the library: Orange is a serialization library for D1 and D2, supporting both Tango and Phobos. It can serialize most of the available types in D, including third party types and can serialize through base class references. It supports fully automatic serialization of all supported types and also supports several ways to customize the serialization. Orange has a separate front end (the serializer) and back end (the archive) making it possible for the user to create new archive types that can be used with the existing serializer. http://dsource.org/projects/orange -- /Jacob Carlborg
Jul 25 2010
On 25/07/2010 16:08, Jacob Carlborg wrote:This if the first release of the Orange serialization libraryXML D2/Phobos problem solved ? Bjoern
Jul 27 2010
On 2010-07-27 15:13, BLS wrote:On 25/07/2010 16:08, Jacob Carlborg wrote:Yes, it's fixed. I'm including a modified version of the whole std.xml module, not pretty but it works. -- /Jacob CarlborgThis if the first release of the Orange serialization libraryXML D2/Phobos problem solved ? Bjoern
Jul 27 2010
On Wed, 28 Jul 2010 06:10:21 +0900, Jacob Carlborg <doob me.com> wrote:On 2010-07-27 15:13, BLS wrote:One question. http://dsource.org/projects/orange/browser/orange/xml/PhobosXML.d Why use string mixin? MasahiroOn 25/07/2010 16:08, Jacob Carlborg wrote:Yes, it's fixed. I'm including a modified version of the whole std.xml module, not pretty but it works.This if the first release of the Orange serialization libraryXML D2/Phobos problem solved ? Bjoern
Jul 27 2010
Masahiro Nakagawa Wrote:On Wed, 28 Jul 2010 06:10:21 +0900, Jacob Carlborg <doob me.com> wrote:Cause it isn't necessary for tango or even lexicaly incorrect for some versions of the compilerOn 2010-07-27 15:13, BLS wrote:One question. http://dsource.org/projects/orange/browser/orange/xml/PhobosXML.d Why use string mixin? MasahiroOn 25/07/2010 16:08, Jacob Carlborg wrote:Yes, it's fixed. I'm including a modified version of the whole std.xml module, not pretty but it works.This if the first release of the Orange serialization libraryXML D2/Phobos problem solved ? Bjoern
Jul 27 2010
On Wed, 28 Jul 2010 12:36:34 +0900, g g <f spamme.cocor> wrote:Masahiro Nakagawa Wrote:Thanks. I didn't know this technique. Hmm...On Wed, 28 Jul 2010 06:10:21 +0900, Jacob Carlborg <doob me.com> wrote:Cause it isn't necessary for tango or even lexicaly incorrect for some versions of the compilerOn 2010-07-27 15:13, BLS wrote:One question. http://dsource.org/projects/orange/browser/orange/xml/PhobosXML.d Why use string mixin? MasahiroOn 25/07/2010 16:08, Jacob Carlborg wrote:Yes, it's fixed. I'm including a modified version of the whole std.xml module, not pretty but it works.This if the first release of the Orange serialization libraryXML D2/Phobos problem solved ? Bjoern
Jul 27 2010
On 2010-07-28 05:36, g g wrote:Masahiro Nakagawa Wrote:Exactly, there a several features in D2 that is lexical illegal in D1. I thought that it was the easiest solution, instead of creating a build system that excluded the file for D1, then people are free to use their own build system instead of a specific one they perhaps don't like. -- /Jacob CarlborgOn Wed, 28 Jul 2010 06:10:21 +0900, Jacob Carlborg<doob me.com> wrote:Cause it isn't necessary for tango or even lexicaly incorrect for some versions of the compilerOn 2010-07-27 15:13, BLS wrote:One question. http://dsource.org/projects/orange/browser/orange/xml/PhobosXML.d Why use string mixin? MasahiroOn 25/07/2010 16:08, Jacob Carlborg wrote:Yes, it's fixed. I'm including a modified version of the whole std.xml module, not pretty but it works.This if the first release of the Orange serialization libraryXML D2/Phobos problem solved ? Bjoern
Jul 28 2010
== Quote from Jacob Carlborg (doob me.com)'s articleExactly, there a several features in D2 that is lexical illegal in D1. I thought that it was the easiest solution, instead of creating a build system that excluded the file for D1, then people are free to use their own build system instead of a specific one they perhaps don't like.Funny solution :) Is the xml code different from dsource's std2.xml ? The api reference is a bit too tidy to my liking ;)
Jul 28 2010
== Quote from strtr (strtr sp.am)'s article== Quote from Jacob Carlborg (doob me.com)'s articleThe difference is that I added a parent attribute to the Element class, I also added a few wrapper methods to make it easier to wrap in a tango interface.Exactly, there a several features in D2 that is lexical illegal in D1. I thought that it was the easiest solution, instead of creating a build system that excluded the file for D1, then people are free to use their own build system instead of a specific one they perhaps don't like.Funny solution :) Is the xml code different from dsource's std2.xml ? The api reference is a bit too tidy to my liking ;)
Jul 28 2010
== Quote from Jacob Carlborg (doob me.com)'s articleThis if the first release of the Orange serialization library. Here is a short description of the library: Orange is a serialization library for D1 and D2, supporting both Tango and Phobos. It can serialize most of the available types in D, including third party types and can serialize through base class references. It supports fully automatic serialization of all supported types and also supports several ways to customize the serialization. Orange has a separate front end (the serializer) and back end (the archive) making it possible for the user to create new archive types that can be used with the existing serializer. http://dsource.org/projects/orangeNice work! I'll try it out eventually, but right now I've been too busy with stuff that doesn't require serialization. This is another nice little library that would be useful to a lot of people but has "dependency hell" written all over it if D users are generally required to go out and install small misc. pieces of functionality like this themselves. IMHO eventually serialization belongs in the std. lib and seeing that Orange is Boost licensed, once some of the XML and compiler issues are fixed, this may be a good candidate.
Jul 27 2010
On 2010-07-27 17:30, dsimcha wrote:== Quote from Jacob Carlborg (doob me.com)'s articleThanks. I'm more than happy to make the necessary changes to include Orange in Phobos. -- /Jacob CarlborgThis if the first release of the Orange serialization library. Here is a short description of the library: Orange is a serialization library for D1 and D2, supporting both Tango and Phobos. It can serialize most of the available types in D, including third party types and can serialize through base class references. It supports fully automatic serialization of all supported types and also supports several ways to customize the serialization. Orange has a separate front end (the serializer) and back end (the archive) making it possible for the user to create new archive types that can be used with the existing serializer. http://dsource.org/projects/orangeNice work! I'll try it out eventually, but right now I've been too busy with stuff that doesn't require serialization. This is another nice little library that would be useful to a lot of people but has "dependency hell" written all over it if D users are generally required to go out and install small misc. pieces of functionality like this themselves. IMHO eventually serialization belongs in the std. lib and seeing that Orange is Boost licensed, once some of the XML and compiler issues are fixed, this may be a good candidate.
Jul 27 2010