What''s the status on the IO and File classes? Is that something you would take contributions on? I would rate that as a pretty high barrier to entry. Having File would make lots of useful scripts possible. -Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20070930/336afe49/attachment.html
Hi Eric, John Messerly has been looking at IO and File, however he''s swamped with other work at the moment. We would love some help in implementing IO and File, so feel free to start work on it. John - if you have any code, feel free to share with Eric! Thanks, -John From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Eric Nicholson Sent: Sunday, September 30, 2007 4:15 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] IO, File Implementations What''s the status on the IO and File classes? Is that something you would take contributions on? I would rate that as a pretty high barrier to entry. Having File would make lots of useful scripts possible. -Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071001/981c6344/attachment.html
I looked at this briefly, and it looks like "RegisterClass" and "Load..." entries for IO and File are needed in "Builtins\Initializer.Generated.cs". I''m guessing from the name that this file is generated dynamically, but how? Is there some rake option to create this file? Or can I just modify it by hand? Thanks, Eric On 10/1/07, John Lam (DLR) <jflam at microsoft.com> wrote:> > Hi Eric, > > > > John Messerly has been looking at IO and File, however he''s swamped with > other work at the moment. We would love some help in implementing IO and > File, so feel free to start work on it. > > > > John ? if you have any code, feel free to share with Eric! > > > > Thanks, > > -John > > > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Eric Nicholson > *Sent:* Sunday, September 30, 2007 4:15 PM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] IO, File Implementations > > > > What''s the status on the IO and File classes? Is that something you would > take contributions on? > > I would rate that as a pretty high barrier to entry. Having File would > make lots of useful scripts possible. > > -Eric > > _______________________________________________ > 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/20071001/cb0c91f3/attachment-0001.html
2007/10/1, Eric Nicholson <enicholson at gmail.com>:> I looked at this briefly, and it looks like "RegisterClass" and "Load..." > entries for IO and File are needed in > "Builtins\Initializer.Generated.cs". I''m guessing from the > name that this file is generated dynamically, but how?By compiling and running the program under utils/ironruby.classinitgenerator.> Is there some rake option to create this file? Or can I just modify it by > hand?I agree that this should be in the rakefile. Together with a target to run gppg parser generator. -- Seo Sanghyeon
That worked! Of course now I have some other issues, but I''ll work my through them. Thanks! Eric On 10/1/07, Sanghyeon Seo <sanxiyn at gmail.com> wrote:> > 2007/10/1, Eric Nicholson <enicholson at gmail.com>: > > I looked at this briefly, and it looks like "RegisterClass" and > "Load..." > > entries for IO and File are needed in > > "Builtins\Initializer.Generated.cs". I''m guessing from the > > name that this file is generated dynamically, but how? > > By compiling and running the program under > utils/ironruby.classinitgenerator. > > > Is there some rake option to create this file? Or can I just modify it > by > > hand? > > I agree that this should be in the rakefile. Together with a target to > run gppg parser generator. > > -- > Seo Sanghyeon > _______________________________________________ > 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/20071001/c47809b6/attachment.html
Ok, so I should have asked this sooner, but... Do core classes (specifically IO, File) go into Ruby.Builtins or IronRuby.Libraries? -Eric On 10/1/07, Eric Nicholson <enicholson at gmail.com> wrote:> > That worked! Of course now I have some other issues, but I''ll work my > through them. > > Thanks! > Eric > > On 10/1/07, Sanghyeon Seo < sanxiyn at gmail.com> wrote: > > > > 2007/10/1, Eric Nicholson < enicholson at gmail.com>: > > > I looked at this briefly, and it looks like "RegisterClass" and > > "Load..." > > > entries for IO and File are needed in > > > "Builtins\Initializer.Generated.cs". I''m guessing from the > > > name that this file is generated dynamically, but how? > > > > By compiling and running the program under > > utils/ironruby.classinitgenerator. > > > > > Is there some rake option to create this file? Or can I just modify it > > by > > > hand? > > > > I agree that this should be in the rakefile. Together with a target to > > run gppg parser generator. > > > > -- > > Seo Sanghyeon > > _______________________________________________ > > 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/20071003/291a84cf/attachment.html
All classes that the compiler directly doesn''t depend on belong to IR.Libraries (currently, many of them are in Builtins though - we are going to take them out soon). As IO and File are not compiler dependencies they belong to Libraries. Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Eric Nicholson Sent: Wednesday, October 03, 2007 7:43 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] IO, File Implementations Ok, so I should have asked this sooner, but... Do core classes (specifically IO, File) go into Ruby.Builtins or IronRuby.Libraries? -Eric On 10/1/07, Eric Nicholson <enicholson at gmail.com<mailto:enicholson at gmail.com>> wrote: That worked! Of course now I have some other issues, but I''ll work my through them. Thanks! Eric On 10/1/07, Sanghyeon Seo < sanxiyn at gmail.com<mailto:sanxiyn at gmail.com>> wrote: 2007/10/1, Eric Nicholson < enicholson at gmail.com<mailto:enicholson at gmail.com>>:> I looked at this briefly, and it looks like "RegisterClass" and "Load..." > entries for IO and File are needed in > "Builtins\Initializer.Generated.cs". I''m guessing from the > name that this file is generated dynamically, but how?By compiling and running the program under utils/ironruby.classinitgenerator.> Is there some rake option to create this file? Or can I just modify it by > hand?I agree that this should be in the rakefile. Together with a target to run gppg parser generator. -- Seo Sanghyeon _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto: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/20071004/e5a8fd70/attachment-0001.html