Enrico Sada
2011-Aug-07 22:46 UTC
[Ironruby-core] Pull request #31 - fix workitem 6345, implemented IO#binread
The pull request #31 ( https://github.com/IronLanguages/main/pull/31 )
is for resolve workitem 6345 (
http://ironruby.codeplex.com/workitem/6345 ).
Implemented IO#binread with rubyspec (sent also to rubyspec/rubyspec).
This anyway is not enough for fix rdoc, needed for gem install.
C:\repo\IronLanguages>igem install rake
Successfully installed rake-0.9.2
1 gem installed
Installing ri documentation for rake-0.9.2...
C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb:12:in `expan
d_tabs'': parsing "^(.{8}*?)([\x00-?-[\\t\\r\\n]]{0,7})\\t" -
Nested quantifier *
. (SyntaxError)
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb
:9:in `lines''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb
:9:in `expand_tabs''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb
:60:in `normalize_comment''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/code_ob
ject.rb:97:in `comment=''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/rdoc.rb
:278:in `parse_file''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/rdoc.rb
:322:in `parse_files''
i think the problem is .{8}*? , (like
http://stackoverflow.com/questions/210206/what-is-a-nested-quantifier-and-why-is-it-causing-my-regex-to-fail
) i will check it later, probably an rdoc modify is needed, dont know
how to fix it ironruby side.
Tomas Matousek
2011-Aug-08 04:33 UTC
[Ironruby-core] Pull request #31 - fix workitem 6345, implemented IO#binread
I can take a look at fixing the regex issue perhaps next weekend.
Tomas
-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of Enrico Sada
Sent: Sunday, August 07, 2011 3:47 PM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Pull request #31 - fix workitem 6345, implemented
IO#binread
The pull request #31 ( https://github.com/IronLanguages/main/pull/31 ) is for
resolve workitem 6345 (
http://ironruby.codeplex.com/workitem/6345 ).
Implemented IO#binread with rubyspec (sent also to rubyspec/rubyspec).
This anyway is not enough for fix rdoc, needed for gem install.
C:\repo\IronLanguages>igem install rake
Successfully installed rake-0.9.2
1 gem installed
Installing ri documentation for rake-0.9.2...
C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb:12:in `expan
d_tabs'': parsing "^(.{8}*?)([\x00-?-[\\t\\r\\n]]{0,7})\\t" -
Nested quantifier * . (SyntaxError)
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb
:9:in `lines''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb
:9:in `expand_tabs''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb
:60:in `normalize_comment''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/code_ob
ject.rb:97:in `comment=''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/rdoc.rb
:278:in `parse_file''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/rdoc.rb
:322:in `parse_files''
i think the problem is .{8}*? , (like
http://stackoverflow.com/questions/210206/what-is-a-nested-quantifier-and-why-is-it-causing-my-regex-to-fail
) i will check it later, probably an rdoc modify is needed, dont know how to fix
it ironruby side.
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Tomas Matousek
2011-Aug-14 20:16 UTC
[Ironruby-core] Pull request #31 - fix workitem 6345, implemented IO#binread
Regex should be fixed now.
-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of Tomas Matousek
Sent: Sunday, August 07, 2011 9:33 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Pull request #31 - fix workitem 6345, implemented
IO#binread
I can take a look at fixing the regex issue perhaps next weekend.
Tomas
-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of Enrico Sada
Sent: Sunday, August 07, 2011 3:47 PM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Pull request #31 - fix workitem 6345, implemented
IO#binread
The pull request #31 ( https://github.com/IronLanguages/main/pull/31 ) is for
resolve workitem 6345 (
http://ironruby.codeplex.com/workitem/6345 ).
Implemented IO#binread with rubyspec (sent also to rubyspec/rubyspec).
This anyway is not enough for fix rdoc, needed for gem install.
C:\repo\IronLanguages>igem install rake
Successfully installed rake-0.9.2
1 gem installed
Installing ri documentation for rake-0.9.2...
C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb:12:in `expan
d_tabs'': parsing "^(.{8}*?)([\x00-?-[\\t\\r\\n]]{0,7})\\t" -
Nested quantifier * . (SyntaxError)
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb
:9:in `lines''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb
:9:in `expand_tabs''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/text.rb
:60:in `normalize_comment''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/code_ob
ject.rb:97:in `comment=''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/rdoc.rb
:278:in `parse_file''
from C:/repo/IronLanguages/Languages/Ruby/StdLib/ruby/1.9.1/rdoc/rdoc.rb
:322:in `parse_files''
i think the problem is .{8}*? , (like
http://stackoverflow.com/questions/210206/what-is-a-nested-quantifier-and-why-is-it-causing-my-regex-to-fail
) i will check it later, probably an rdoc modify is needed, dont know how to fix
it ironruby side.
_______________________________________________
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