We now pass 1541/2468 specs (62%). A bunch of String specs were re-enabled since we no longer crash when parsing them. Work is still ongoing to start running the trunk rubinius specs, but we need some more features in the libs first (the rubinius spec rewrite uses some standard libraries that we don''t fully support yet). ENV is now partially implemented - you can evaluate environment variables correctly now. A bunch of regex functionality (still using .NET regex) is enabled - =~, sub,gsub etc. are now implemented in this release. There was a split in the way the DLR is organized. Microsoft.Scripting.Core.dll is the DLR, and Microsoft.Scripting.dll are where libraries like the Math libraries for the DLR will live from now on. Thanks, -John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080408/f334c8eb/attachment-0001.html
With a new version out, I thought I''d try again to see how far I could get gems setup.rb to run ... 1) missing method Regex.quote - see implementation in attached patch 2) Exception thrown in ModuleOps.Evaluate - "We need ScriptCode.Run to be public" - uncommented the excluded code and made ScriptCode.Run public 3) Time.to_i not implemented - applied Eric Nicholson''s patch 4) Time.gmt_offset not implemented - see implementation in attached patch (includes Eric''s patch) 5) MutableString.intern not implemented - aliased MutableString.to_sym to intern 6) Exception thrown stating that ">= 0" is an illformed requirement - case statement failed because Regex.=== wasn''t implemented, see implementation in attached patch 7) The regular expression still doesn''t match due to a regular expression substitution problem - the following simple example illustrates the problem (it should match but doesn''t): x = /a/ regex = /#{x}/ puts regex =~ ''a'' Cheers, Wayne. -------------- next part -------------- A non-text attachment was scrubbed... Name: Time_gmt_offset.patch Type: application/octet-stream Size: 12261 bytes Desc: Time_gmt_offset.patch Url : http://rubyforge.org/pipermail/ironruby-core/attachments/20080409/25a63de0/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: MutableString_intern.patch Type: application/octet-stream Size: 509 bytes Desc: MutableString_intern.patch Url : http://rubyforge.org/pipermail/ironruby-core/attachments/20080409/25a63de0/attachment-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: Regexp.patch Type: application/octet-stream Size: 2598 bytes Desc: Regexp.patch Url : http://rubyforge.org/pipermail/ironruby-core/attachments/20080409/25a63de0/attachment-0002.obj
Attached is a fix to my hastily implemented Regexp.quote method ( I returned a string rather than a MutableString) It now passes the tests in Specs\core\regexp\quote_spec.rb Cheers, Wayne. ________________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] On Behalf Of Wayne Kelly [w.kelly at qut.edu.au] Sent: Wednesday, 9 April 2008 5:51 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] running gems setup.rb with revision93 With a new version out, I thought I''d try again to see how far I could get gems setup.rb to run ... 1) missing method Regex.quote - see implementation in attached patch -------------- next part -------------- A non-text attachment was scrubbed... Name: Regexp.patch Type: application/octet-stream Size: 2689 bytes Desc: Regexp.patch Url : http://rubyforge.org/pipermail/ironruby-core/attachments/20080410/0363052e/attachment.obj
John Lam (IRONRUBY)
2008-Apr-11 14:43 UTC
[Ironruby-core] running gems setup.rb with revision93
Wayne Kelly:> Attached is a fix to my hastily implemented Regexp.quote method ( I > returned a string rather than a MutableString)Cool. Thanks! FYI I''m working on doing an integration of Peter Bacon Darwin''s awesome port of JOni (called IrOni(!)) into our regex code, so I''m filling out the implementation of Regexp now. Thanks, -John