| Thread overview | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
April 23, 2016 GSoC 2016 - A replacement of std.xml for the Phobos standard library | ||||
|---|---|---|---|---|
| ||||
Hi, I'm Lodovico Giaretta and I've been selected by the D Foundation for GSoC 2016. First of all, I'd like to thank the D Foundation for this fantastic opportunity. In particular, I'd like to thank Craig Dillabaugh and Robert Schadek for their patience in helping me from my first contacts till now. I'll do my best to implement my proposal and make this experience really unique. My proposal is available online: https://drive.google.com/file/d/0B2_hnTCdWtH-eEplQ3hZdnY2Wlk/view?usp=sharing Also, while writing the proposal, I started implementing some small components. You can find my efforts here: https://github.com/lodo1995/experimental.xml I expect that I'll restart updating it in a couple of days. This is my first experience at GSoC and also my first collaboration with a big open source project, so if you have any suggestion about my proposal or my early implementation, feel free to tell me. Thank you very much to everybody. Lodovico Giaretta | ||||
April 23, 2016 Re: GSoC 2016 - A replacement of std.xml for the Phobos standard library | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Lodovico Giaretta | On 23/04/2016 8:30 PM, Lodovico Giaretta wrote:
> Hi,
>
> I'm Lodovico Giaretta and I've been selected by the D Foundation for
> GSoC 2016.
>
> First of all, I'd like to thank the D Foundation for this fantastic
> opportunity.
> In particular, I'd like to thank Craig Dillabaugh and Robert Schadek for
> their patience in helping me from my first contacts till now.
> I'll do my best to implement my proposal and make this experience really
> unique.
>
> My proposal is available online:
> https://drive.google.com/file/d/0B2_hnTCdWtH-eEplQ3hZdnY2Wlk/view?usp=sharing
>
>
> Also, while writing the proposal, I started implementing some small
> components. You can find my efforts here:
> https://github.com/lodo1995/experimental.xml
> I expect that I'll restart updating it in a couple of days.
>
> This is my first experience at GSoC and also my first collaboration with
> a big open source project, so if you have any suggestion about my
> proposal or my early implementation, feel free to tell me.
>
> Thank you very much to everybody.
>
> Lodovico Giaretta
Welcome!
If you're able to a lot of us hang out on #d on Freenode, if you wish to join please do!
| |||
April 23, 2016 Re: GSoC 2016 - A replacement of std.xml for the Phobos standard library | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Lodovico Giaretta | On Saturday, 23 April 2016 at 08:30:32 UTC, Lodovico Giaretta wrote:
> This is my first experience at GSoC and also my first collaboration with a big open source project, so if you have any suggestion about my proposal or my early implementation, feel free to tell me.
>
> Thank you very much to everybody.
>
> Lodovico Giaretta
Your D style is 90% Phobos compatible. There are few details you need to fix before writing more: you tend to forget the space after "if", "foreach" and "while". You'll see that actually this space makes the things more beautiful because the identifier used after the opening parenthesis and the first identifier used after the indentation are aligned.
if (wellAligned)
wellAligned++;
You can fix existing work with Dfmt if you dont want to process manually.
| |||
April 23, 2016 Re: GSoC 2016 - A replacement of std.xml for the Phobos standard library | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Ed | On Saturday, 23 April 2016 at 11:03:03 UTC, Ed wrote:
> Your D style is 90% Phobos compatible. There are few details you need to fix before writing more: you tend to forget the space after "if", "foreach" and "while". You'll see that actually this space makes the things more beautiful because the identifier used after the opening parenthesis and the first identifier used after the indentation are aligned.
>
> if (wellAligned)
> wellAligned++;
>
>
> You can fix existing work with Dfmt if you dont want to process manually.
Thank you for pointing this out.
Lodovico Giaretta
| |||
April 23, 2016 Re: GSoC 2016 - A replacement of std.xml for the Phobos standard library | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Lodovico Giaretta | On Saturday, 23 April 2016 at 08:30:32 UTC, Lodovico Giaretta wrote: > Hi, > > I'm Lodovico Giaretta and I've been selected by the D Foundation for GSoC 2016. > > First of all, I'd like to thank the D Foundation for this fantastic opportunity. > In particular, I'd like to thank Craig Dillabaugh and Robert Schadek for their patience in helping me from my first contacts till now. > I'll do my best to implement my proposal and make this experience really unique. > > My proposal is available online: https://drive.google.com/file/d/0B2_hnTCdWtH-eEplQ3hZdnY2Wlk/view?usp=sharing > > Also, while writing the proposal, I started implementing some small components. You can find my efforts here: https://github.com/lodo1995/experimental.xml > I expect that I'll restart updating it in a couple of days. > > This is my first experience at GSoC and also my first collaboration with a big open source project, so if you have any suggestion about my proposal or my early implementation, feel free to tell me. > > Thank you very much to everybody. > > Lodovico Giaretta Do you know about these two projects? https://github.com/jacob-carlborg/orange https://github.com/s-ludwig/std_data_json It would be great if your xml library could work with the proposed std.data specification. Ideally switching from Json output to xml output, should be changing one line. | |||
April 23, 2016 Re: GSoC 2016 - A replacement of std.xml for the Phobos standard library | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Lodovico Giaretta | On Saturday, 23 April 2016 at 08:30:32 UTC, Lodovico Giaretta wrote:
> Hi,
>
> I'm Lodovico Giaretta and I've been selected by the D Foundation for GSoC 2016.
>
> First of all, I'd like to thank the D Foundation for this fantastic opportunity.
> In particular, I'd like to thank Craig Dillabaugh and Robert Schadek for their patience in helping me from my first contacts till now.
> I'll do my best to implement my proposal and make this experience really unique.
>
> My proposal is available online: https://drive.google.com/file/d/0B2_hnTCdWtH-eEplQ3hZdnY2Wlk/view?usp=sharing
>
> Also, while writing the proposal, I started implementing some small components. You can find my efforts here: https://github.com/lodo1995/experimental.xml
> I expect that I'll restart updating it in a couple of days.
>
> This is my first experience at GSoC and also my first collaboration with a big open source project, so if you have any suggestion about my proposal or my early implementation, feel free to tell me.
>
> Thank you very much to everybody.
>
> Lodovico Giaretta
If you want, you can get more feedback by submitting a work in progress PR to Phobos so people can see the development of the library and comment on it as you go. This would also allow you to test your code with the Phobos CI which has a 10 different platforms.
| |||
April 24, 2016 Re: GSoC 2016 - A replacement of std.xml for the Phobos standard library | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Seb | On Saturday, 23 April 2016 at 14:38:36 UTC, Seb wrote:
> Do you know about these two projects?
>
> https://github.com/jacob-carlborg/orange
> https://github.com/s-ludwig/std_data_json
>
> It would be great if your xml library could work with the proposed std.data specification. Ideally switching from Json output to xml output, should be changing one line.
--- WARNING: NOOB QUESTION ---
I've heard something about std.data, but I know almost nothing about it. Where can I find the proposed specification?
--- END OF NOOB QUESTION ---
By the way, I think that std.xml will end up having lots of compile-time configurations (via templates), so it will have a simple wrapper on top of it, which can of course obey the std.data specification. This will allow casual users to have the job done in a few lines without any pain.
| |||
April 24, 2016 Re: GSoC 2016 - A replacement of std.xml for the Phobos standard library | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jack Stouffer | On Saturday, 23 April 2016 at 18:49:00 UTC, Jack Stouffer wrote:
> If you want, you can get more feedback by submitting a work in progress PR to Phobos so people can see the development of the library and comment on it as you go. This would also allow you to test your code with the Phobos CI which has a 10 different platforms.
This is a very good idea, but I think I'll not apply it now. In my opinion, the code is not mature enough to be integrated with Phobos. I hope that for May 23rd (when GSoC coding phase officially begins) my repository will have switched from the "sketch" phase to the "development towards an almost-well-defined design" phase. In that case, I'll submit a PR, so that the details of interfaces and implementation can be easily discussed.
| |||
April 24, 2016 Re: GSoC 2016 - A replacement of std.xml for the Phobos standard library | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Lodovico Giaretta | On Saturday, 23 April 2016 at 08:30:32 UTC, Lodovico Giaretta wrote:
> Hi,
>
> I'm Lodovico Giaretta and I've been selected by the D Foundation for GSoC 2016.
>
> First of all, I'd like to thank the D Foundation for this fantastic opportunity.
> In particular, I'd like to thank Craig Dillabaugh and Robert Schadek for their patience in helping me from my first contacts till now.
> I'll do my best to implement my proposal and make this experience really unique.
>
> My proposal is available online: https://drive.google.com/file/d/0B2_hnTCdWtH-eEplQ3hZdnY2Wlk/view?usp=sharing
>
> Also, while writing the proposal, I started implementing some small components. You can find my efforts here: https://github.com/lodo1995/experimental.xml
> I expect that I'll restart updating it in a couple of days.
>
> This is my first experience at GSoC and also my first collaboration with a big open source project, so if you have any suggestion about my proposal or my early implementation, feel free to tell me.
>
> Thank you very much to everybody.
>
> Lodovico Giaretta
Great! We really need proper XML support in Phobos.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply