Re: [Ironruby-core] .NET custom attributes

2008-03-11 Thread Tomas Matousek
IronRuby doesn't support custom attributes. It currently doesn't support compilation to static .NET types at all, so there is nothing the attributes could be applied on. We will look at this issue in future. Tomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On B

[Ironruby-core] .NET custom attributes

2008-03-11 Thread Brian Blackwell
Does IronRuby support .NET custom attributes? Is this even possible on the DLR? I recall that this was a problem with IronPython, but I wasn't sure if it also affects DLR-based languages like IronRuby and IronPython v2.0... Brian ___ Ironruby-core mailin

Re: [Ironruby-core] Shiny New Code

2008-03-11 Thread Mike Moore
Awesome. Thanks Dino! Sent from my iPhone On Mar 11, 2008, at 2:46 PM, Dino Viehland <[EMAIL PROTECTED]> wrote: The DLR hosting APIs should now closely match the hosting API spec which is available here: http://compilerlab.members.winisp.net/dlr-spec-hosting.pdf There may be small t

Re: [Ironruby-core] Revision

2008-03-11 Thread Josh Charles
John Lam (DLR) <[EMAIL PROTECTED]> wrote: > You should use the *other* solution in that directory - IronRuby.sln. That > points to the right locations. Got it, thanks! > You'll need to run 'rake gen' from the command line to regenerate the > Initializers.Generated.cs file. I feel a bit fooli

Re: [Ironruby-core] Shiny New Code

2008-03-11 Thread Michael Letterle
Just updated that wiki page with a working demo I had laying around... wonder why I hadn't before.. ah well thanks for pointing it out! On Tue, Mar 11, 2008 at 4:19 PM, Mike Moore <[EMAIL PROTECTED]> wrote: > Does anyone know when is the source code available on > http://dynamicsilverlight.net/ go

Re: [Ironruby-core] Shiny New Code

2008-03-11 Thread Dino Viehland
The DLR hosting APIs should now closely match the hosting API spec which is available here: http://compilerlab.members.winisp.net/dlr-spec-hosting.pdf There may be small tweaks here and there but they shouldn't be changing much in the future either. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE

Re: [Ironruby-core] Knowing if the CLR/BCL is available...

2008-03-11 Thread John Lam (DLR)
Michael Letterle: > So what's going to be the preferred way of knowing if your ruby app is > running under IronRuby? RUBY_PLATFORM can't be used because it's just > i386-mswin32, this doesn't tell us that CLR interop is available... > could be handy to have... Not available yet, but IRONRUBY_VER

[Ironruby-core] Knowing if the CLR/BCL is available...

2008-03-11 Thread Michael Letterle
So what's going to be the preferred way of knowing if your ruby app is running under IronRuby? RUBY_PLATFORM can't be used because it's just i386-mswin32, this doesn't tell us that CLR interop is available... could be handy to have... -- Michael Letterle [Polymath Prokrammer] http://blog.prokram

Re: [Ironruby-core] Shiny New Code

2008-03-11 Thread John Lam (DLR)
Mike Moore: > Does anyone know when is the source code available on > http://dynamicsilverlight.net/ going to be committed to the RubyForge > SVN repo? Soon ... :) I tried pushing out before we left, and something's mucked up in the sync script. I'll need to spend some time investigating before

[Ironruby-core] Shiny New Code

2008-03-11 Thread Mike Moore
Does anyone know when is the source code available on http://dynamicsilverlight.net/ going to be committed to the RubyForge SVN repo? Also, it looks like the DLR hosting API has changed. For example, the example code on the IronRuby Wiki ( http://ironruby.rubyforge.org/wiki/wiki.pl?ExecutingIronR

Re: [Ironruby-core] Revision

2008-03-11 Thread Peter Bacon Darwin
Or more easily run GenerateInitializers.cmd from trunk\src\IronRuby.Libraries Pete -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Letterle Sent: Tuesday,11 March 11, 2008 19:04 To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Revision

Re: [Ironruby-core] Revision

2008-03-11 Thread Michael Letterle
Or you can actually use the ClassInitGenerator.exe in your output directory directly: classinitgenerator IronRuby.Libraries.dll Ruby.Libraries LibrariesInitalizer > Initializer.Generated.cs copy Initializer.Generated.cs to trunk/src/IronRuby.Libraries/ recompile. I didn't even know there was a

Re: [Ironruby-core] Revision

2008-03-11 Thread John Lam (DLR)
Josh Charles: > > I've checked out revision 76 of IronRuby, and finally got it setup in > VS2008 where everything was compiling. For some reason the VS project > file looks for the sub-projects in the wrong locations, and you have > to redirect it to the proper project locations, and reset all the

[Ironruby-core] Revision

2008-03-11 Thread Josh Charles
I've checked out revision 76 of IronRuby, and finally got it setup in VS2008 where everything was compiling. For some reason the VS project file looks for the sub-projects in the wrong locations, and you have to redirect it to the proper project locations, and reset all the references. I thought

Re: [Ironruby-core] External libraries implementation status update

2008-03-11 Thread Michael Letterle
I've got the rubyforge project up for the pure ruby zlib implementation, SVN has what I got so far, which is basically just Zlib::Inflate, http://rubyforge.org/projects/zliby/ it's rough, but I'm adding to it. On Fri, Mar 7, 2008 at 5:46 PM, Michael Letterle <[EMAIL PROTECTED]> wrote: > I'd like

Re: [Ironruby-core] Prototype SQLite3 support for IronRuby

2008-03-11 Thread M. David Peterson
On Tue, 11 Mar 2008 10:53:55 -0600, M. David Peterson <[EMAIL PROTECTED]> wrote: > Wrapper around ADO.NET That should have been prefixed with **. -- /M:D M. David Peterson Co-Founder & Chief Architect, 3rd&Urban, LLC Email: [EMAIL PROTECTED] | [EMAIL PROTECTED] | Mobile: (206) 418-9027 Web: ht

Re: [Ironruby-core] Prototype SQLite3 support for IronRuby

2008-03-11 Thread M. David Peterson
On Tue, 11 Mar 2008 08:47:17 -0600, John Lam (DLR) <[EMAIL PROTECTED]> wrote: > (heck even if it isn't, it means that we can get some things working with > this sooner rather than later). I'm not sure if there is a SQLite driver in pure manage code, but their are plenty of wrappers available[1,

Re: [Ironruby-core] Surprising Result

2008-03-11 Thread Michael Letterle
So I did some testing on this, I wrapped all loops in an outer while loop and ran them though both rbx and cruby: i.e. t = 0 while t < 2000 for i in (1..1000) end t+=1 end cruby: while: 0:01.22 for: 0:00.46 times: 0:00.75 rbx: while: 0:01.83 for: 0:24.53 times:

Re: [Ironruby-core] Prototype SQLite3 support for IronRuby

2008-03-11 Thread John Lam (DLR)
Brian Blackwell: > A quick introduction: I was previously a member of Wayne Kelly's > Ruby.NET team, and I am now looking forward to making a contribution > to the IronRuby community. I have recently been looking into what is > involved with database API support in IronRuby. Our current thinking >

Re: [Ironruby-core] Surprising Result

2008-03-11 Thread Eric Nicholson
Alright, I'll bet you a beer next time you're in Raleigh, NC. :) For... in loops seem to use blocks. Anyway, in a quick test they seem to be about 200 - 1000 times slower than an equivalent while loop. A quick test that runs through 1000 iterations 2000 times takes 0.3s with a while loop, and 9

Re: [Ironruby-core] External libraries implementation status update

2008-03-11 Thread Curt Hagenlocher
On 3/6/08, Wayne Kelly <[EMAIL PROTECTED]> wrote: > > strscan.so: > - any progress Curt? I was under the impression that I had finished this, but I'm thousands of miles away from being able to check. Have you tried to use StringScanner? -- Curt Hagenlocher [EMAIL PROTECTED]

Re: [Ironruby-core] IronRuby is a Ruby that runs real Ruby programs

2008-03-11 Thread John Messerly
Softmind Technology: > Can you kindly give a rough estimate deadline for this. I think you answered your own question: > It is understood that it will be out in the second half of 2008. > > But Second half means between June to December 2008. - John

Re: [Ironruby-core] IronRuby is a Ruby that runs real Ruby programs

2008-03-11 Thread Softmind Technology
Dear John, There is also a little confusion about the Final version of IronRuby. I mean IronRuby 1.0 RTM It is understood that it will be out in the second half of 2008. But Second half means between June to December 2008. Can you kindly give a rough estimate deadline for this. -- Posted via