Has anyone else started working on a Yaml parser? If so, how can I contribute? -- Adam Esterline http://adamesterline.com/
Adam Esterline:> > Has anyone else started working on a Yaml parser? If so, how can I > contribute?I don''t think anyone has started work on a yaml parser. As for contributing, check out the somewhat videos on http://www.ironruby.net to get started, sign a contributor agreement (see the archives for instructions) and start coding! There are numerous YAML parsers out there (including some .NET ones that have incompatible licenses). Thanks, -John
I started work on porting Ola Bini''s JvYAML library to C#, but I''ve had very little time lately. I''ll try to get my code on a public SVN repo sometime this weekend or early next week. On 10/20/07, John Lam (DLR) <jflam at microsoft.com> wrote:> > Adam Esterline: > > > > Has anyone else started working on a Yaml parser? If so, how can I > > contribute? > > I don''t think anyone has started work on a yaml parser. As for > contributing, check out the somewhat videos on http://www.ironruby.net to > get started, sign a contributor agreement (see the archives for > instructions) and start coding! > > There are numerous YAML parsers out there (including some .NET ones that > have incompatible licenses). > > Thanks, > -John > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071020/4bab9270/attachment.html
How are you converting? Did you use JLCA to do the grunt work? On 10/20/07, Mike Moore <blowmage at gmail.com> wrote:> I started work on porting Ola Bini''s JvYAML library to C#, but I''ve had very > little time lately. I''ll try to get my code on a public SVN repo sometime > this weekend or early next week. > > > On 10/20/07, John Lam (DLR) <jflam at microsoft.com> wrote: > > Adam Esterline: > > > > > > Has anyone else started working on a Yaml parser? If so, how can I > > > contribute? > > > > I don''t think anyone has started work on a yaml parser. As for > contributing, check out the somewhat videos on http://www.ironruby.net to > get started, sign a contributor agreement (see the archives for > instructions) and start coding! > > > > There are numerous YAML parsers out there (including some .NET ones that > have incompatible licenses). > > > > Thanks, > > -John > > > > > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-- Adam Esterline http://adamesterline.com/
I did use JLCA to start, but have made many changes since. JLCA didn''t migrate everything and there are still some calls that don''t exist on the CLR. I made a bunch of changes to try to get the code compiling but I don''t think it is compiling at the moment. I also made some changes to get the code to be more idiomatic C#, like moving some methods to properties, using generics when possible, etc... Right now I think the biggest issue (besides getting it to compile) is that the code is written for JRuby''s String class which is a list of bytes, where IronRuby is using the MutableString class which is a StringBuffer. I remember John saying that IronRuby will move to a byte list for String eventually, but I haven''t had much time to work on the YAML port and haven''t coordinated when that change will happen, if at all. Hopefully I''ll get some time to work on it soon. On 10/20/07, Adam Esterline <adam at esterlines.com> wrote:> > How are you converting? Did you use JLCA to do the grunt work? > > > On 10/20/07, Mike Moore <blowmage at gmail.com> wrote: > > I started work on porting Ola Bini''s JvYAML library to C#, but I''ve had > very > > little time lately. I''ll try to get my code on a public SVN repo > sometime > > this weekend or early next week. > > > > > > On 10/20/07, John Lam (DLR) <jflam at microsoft.com> wrote: > > > Adam Esterline: > > > > > > > > Has anyone else started working on a Yaml parser? If so, how can I > > > > contribute? > > > > > > I don''t think anyone has started work on a yaml parser. As for > > contributing, check out the somewhat videos on http://www.ironruby.netto > > get started, sign a contributor agreement (see the archives for > > instructions) and start coding! > > > > > > There are numerous YAML parsers out there (including some .NET ones > that > > have incompatible licenses). > > > > > > Thanks, > > > -John > > > > > > > > > _______________________________________________ > > > Ironruby-core mailing list > > > Ironruby-core at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > -- > Adam Esterline > http://adamesterline.com/ > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071020/04722d32/attachment.html
Let me know when you check it in and I will try to make some more progress. Did you port the tests as well? On 10/20/07, Mike Moore <blowmage at gmail.com> wrote:> I did use JLCA to start, but have made many changes since. JLCA didn''t > migrate everything and there are still some calls that don''t exist on the > CLR. I made a bunch of changes to try to get the code compiling but I don''t > think it is compiling at the moment. I also made some changes to get the > code to be more idiomatic C#, like moving some methods to properties, using > generics when possible, etc... > > Right now I think the biggest issue (besides getting it to compile) is that > the code is written for JRuby''s String class which is a list of bytes, where > IronRuby is using the MutableString class which is a StringBuffer. I > remember John saying that IronRuby will move to a byte list for String > eventually, but I haven''t had much time to work on the YAML port and haven''t > coordinated when that change will happen, if at all. > > Hopefully I''ll get some time to work on it soon. > > > On 10/20/07, Adam Esterline < adam at esterlines.com> wrote: > > > > How are you converting? Did you use JLCA to do the grunt work? > > > > > > On 10/20/07, Mike Moore <blowmage at gmail.com> wrote: > > > I started work on porting Ola Bini''s JvYAML library to C#, but I''ve had > very > > > little time lately. I''ll try to get my code on a public SVN repo > sometime > > > this weekend or early next week. > > > > > > > > > On 10/20/07, John Lam (DLR) <jflam at microsoft.com> wrote: > > > > Adam Esterline: > > > > > > > > > > Has anyone else started working on a Yaml parser? If so, how can I > > > > > contribute? > > > > > > > > I don''t think anyone has started work on a yaml parser. As for > > > contributing, check out the somewhat videos on http://www.ironruby.net > to > > > get started, sign a contributor agreement (see the archives for > > > instructions) and start coding! > > > > > > > > There are numerous YAML parsers out there (including some .NET ones > that > > > have incompatible licenses). > > > > > > > > Thanks, > > > > -John > > > > > > > > > > > > _______________________________________________ > > > > Ironruby-core mailing list > > > > Ironruby-core at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > > > > > _______________________________________________ > > > Ironruby-core mailing list > > > Ironruby-core at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > > > > -- > > Adam Esterline > > http://adamesterline.com/ > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-- Adam Esterline http://adamesterline.com/
I did not port the tests yet. :( On 10/20/07, Adam Esterline <adam at esterlines.com> wrote:> > Let me know when you check it in and I will try to make some more > progress. Did you port the tests as well? > > On 10/20/07, Mike Moore <blowmage at gmail.com> wrote: > > I did use JLCA to start, but have made many changes since. JLCA didn''t > > migrate everything and there are still some calls that don''t exist on > the > > CLR. I made a bunch of changes to try to get the code compiling but I > don''t > > think it is compiling at the moment. I also made some changes to get > the > > code to be more idiomatic C#, like moving some methods to properties, > using > > generics when possible, etc... > > > > Right now I think the biggest issue (besides getting it to compile) is > that > > the code is written for JRuby''s String class which is a list of bytes, > where > > IronRuby is using the MutableString class which is a StringBuffer. I > > remember John saying that IronRuby will move to a byte list for String > > eventually, but I haven''t had much time to work on the YAML port and > haven''t > > coordinated when that change will happen, if at all. > > > > Hopefully I''ll get some time to work on it soon. > > > > > > On 10/20/07, Adam Esterline < adam at esterlines.com> wrote: > > > > > > How are you converting? Did you use JLCA to do the grunt work? > > > > > > > > > On 10/20/07, Mike Moore <blowmage at gmail.com> wrote: > > > > I started work on porting Ola Bini''s JvYAML library to C#, but I''ve > had > > very > > > > little time lately. I''ll try to get my code on a public SVN repo > > sometime > > > > this weekend or early next week. > > > > > > > > > > > > On 10/20/07, John Lam (DLR) <jflam at microsoft.com> wrote: > > > > > Adam Esterline: > > > > > > > > > > > > Has anyone else started working on a Yaml parser? If so, how > can I > > > > > > contribute? > > > > > > > > > > I don''t think anyone has started work on a yaml parser. As for > > > > contributing, check out the somewhat videos on > http://www.ironruby.net > > to > > > > get started, sign a contributor agreement (see the archives for > > > > instructions) and start coding! > > > > > > > > > > There are numerous YAML parsers out there (including some .NET > ones > > that > > > > have incompatible licenses). > > > > > > > > > > Thanks, > > > > > -John > > > > > > > > > > > > > > > _______________________________________________ > > > > > Ironruby-core mailing list > > > > > Ironruby-core at rubyforge.org > > > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Ironruby-core mailing list > > > > Ironruby-core at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > > > > > > > > > -- > > > Adam Esterline > > > http://adamesterline.com/ > > > _______________________________________________ > > > Ironruby-core mailing list > > > Ironruby-core at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > -- > Adam Esterline > http://adamesterline.com/ > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071020/92014b58/attachment-0001.html
Making changes (getters/setters to properties; generics...) seems risky until the port is compiling and all tests are passing. Is there a reason for taking on the extra risk? AE On 10/20/07, Mike Moore <blowmage at gmail.com> wrote:> I did not port the tests yet. :( > > > On 10/20/07, Adam Esterline <adam at esterlines.com> wrote: > > > > Let me know when you check it in and I will try to make some more > > progress. Did you port the tests as well? > > > > On 10/20/07, Mike Moore <blowmage at gmail.com> wrote: > > > I did use JLCA to start, but have made many changes since. JLCA didn''t > > > migrate everything and there are still some calls that don''t exist on > the > > > CLR. I made a bunch of changes to try to get the code compiling but I > don''t > > > think it is compiling at the moment. I also made some changes to get > the > > > code to be more idiomatic C#, like moving some methods to properties, > using > > > generics when possible, etc... > > > > > > Right now I think the biggest issue (besides getting it to compile) is > that > > > the code is written for JRuby''s String class which is a list of bytes, > where > > > IronRuby is using the MutableString class which is a StringBuffer. I > > > remember John saying that IronRuby will move to a byte list for String > > > eventually, but I haven''t had much time to work on the YAML port and > haven''t > > > coordinated when that change will happen, if at all. > > > > > > Hopefully I''ll get some time to work on it soon. > > > > > > > > > On 10/20/07, Adam Esterline < adam at esterlines.com> wrote: > > > > > > > > How are you converting? Did you use JLCA to do the grunt work? > > > > > > > > > > > > On 10/20/07, Mike Moore <blowmage at gmail.com> wrote: > > > > > I started work on porting Ola Bini''s JvYAML library to C#, but I''ve > had > > > very > > > > > little time lately. I''ll try to get my code on a public SVN repo > > > sometime > > > > > this weekend or early next week. > > > > > > > > > > > > > > > On 10/20/07, John Lam (DLR) < jflam at microsoft.com> wrote: > > > > > > Adam Esterline: > > > > > > > > > > > > > > Has anyone else started working on a Yaml parser? If so, how > can I > > > > > > > contribute? > > > > > > > > > > > > I don''t think anyone has started work on a yaml parser. As for > > > > > contributing, check out the somewhat videos on > http://www.ironruby.net > > > to > > > > > get started, sign a contributor agreement (see the archives for > > > > > instructions) and start coding! > > > > > > > > > > > > There are numerous YAML parsers out there (including some .NET > ones > > > that > > > > > have incompatible licenses). > > > > > > > > > > > > Thanks, > > > > > > -John > > > > > > > > > > > > > > > > > > ______________________________ _________________ > > > > > > Ironruby-core mailing list > > > > > > Ironruby-core at rubyforge.org > > > > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Ironruby-core mailing list > > > > > Ironruby-core at rubyforge.org > > > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > > > > > > > > > > > > > > -- > > > > Adam Esterline > > > > http://adamesterline.com/ > > > > _______________________________________________ > > > > Ironruby-core mailing list > > > > Ironruby-core at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > > > > > _______________________________________________ > > > Ironruby-core mailing list > > > Ironruby-core at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > > > > -- > > Adam Esterline > > http://adamesterline.com/ > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-- Adam Esterline http://adamesterline.com/
Adam Esterline wrote:> Has anyone else started working on a Yaml parser? If so, how can I > contribute?Why would you need to write a new one? Is there something wrong with http://rbyaml.rubyforge.org/ -- Posted via http://www.ruby-forum.com/.
Is the MIT license, of rbyaml, compatible with IronRuby? AE On 10/23/07, Lloyd Linklater <lists at ruby-forum.com> wrote:> Adam Esterline wrote: > > Has anyone else started working on a Yaml parser? If so, how can I > > contribute? > > Why would you need to write a new one? Is there something wrong with > http://rbyaml.rubyforge.org/ > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-- Adam Esterline http://adamesterline.com/
2007/10/24, Adam Esterline <adam at esterlines.com>:> Is the MIT license, of rbyaml, compatible with IronRuby?I can''t see why not. And it''s not like rbyaml is derivative work of IronRuby or vice versa, so license compatibility doesn''t matter. The problem is that rbyaml is a bit too advanced to be run by current IronRuby :) -- Seo Sanghyeon
I think license does matter. If rbyaml was used, it would be shipped with IronRuby as a standard library. I think that means that their license have to be compatible. Can someone please clarify? AE On 10/23/07, Sanghyeon Seo <sanxiyn at gmail.com> wrote:> 2007/10/24, Adam Esterline <adam at esterlines.com>: > > Is the MIT license, of rbyaml, compatible with IronRuby? > > I can''t see why not. And it''s not like rbyaml is derivative work of > IronRuby or vice versa, so license compatibility doesn''t matter. > > The problem is that rbyaml is a bit too advanced to be run by current > IronRuby :) > > -- > Seo Sanghyeon > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-- Adam Esterline http://adamesterline.com/
Adam Esterline:> I think license does matter. If rbyaml was used, it would be > shipped with IronRuby as a standard library. I think that means that > their license have to be compatible. > > Can someone please clarify?This is something that we still have to figure out on our end. AFAIK we have never shipped multiple licensed code before in a single distribution. I''ve got some inquiries out on this, and I''ll report back what we figure out. Worst case we could enlist the help of someone like Seo who has lots of experience redistributing our code to help come up with a standard distribution, but clearly that''s a worst case scenario. Thanks, -John