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

Hi Eric,

John M. 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: [email protected]
[mailto:[email protected]] On Behalf Of Eric N.
Sent: Sunday, September 30, 2007 4:15 PM
To: [email protected]
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

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

2007/10/1, Eric N. [email protected]:

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.

That worked! Of course now I have some other issues, but I’ll work my
through them.

Thanks!
Eric

Ok, so I should have asked this sooner, but…

Do core classes (specifically IO, File) go into Ruby.Builtins or
IronRuby.Libraries?

-Eric

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: [email protected]
[mailto:[email protected]] On Behalf Of Eric N.
Sent: Wednesday, October 03, 2007 7:43 PM
To: [email protected]
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 N.
<[email protected]mailto:[email protected]> 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 S. < [email protected]mailto:[email protected]>
wrote:
2007/10/1, Eric N. <
[email protected]mailto:[email protected]>:

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 S.