[Ironruby-core] SVN Revision 73

Tomas Matousek Tomas.Matousek at microsoft.com
Tue Jan 22 12:18:24 EST 2008


Yes, working on it. The current big-int parsing is a temporary hack that I needed for tokenization testing.

Tomas

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Peter Bacon Darwin
Sent: Tuesday, January 22, 2008 2:56 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] SVN Revision 73

Great stuff.  Things are starting to come together.  I appreciate that lots of work is going on behind the scenes in the DLR but it is also good to see bits of Ruby specific stuff getting sorted.
Just a quick note.  I appreciate that there is a TODO note in the Ruby.Compiler.Token.SetBigInteger(int sign, uint[]/*!*/ data) method but there is a bit of a problem here.  The method does not take into account the base in which the number was written. E.g.

>>> 9999987654321.to_s
=> "39402006214742468146607573302782204160899606930316492574854637797589055807860137311331770134300566582203266107441161"

The method currently just maps whatever digits were passed to the parser straight into the BigInteger's internal data structure.
Pete

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of John Messerly
Sent: Tuesday,22 January 22, 2008 02:32
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] SVN Revision 73

I updated SVN to include Peter's numeric and Terence's socket patches. Please let me know if I missed any of your changes.

Changes include:

* Many improvements to numeric classes (Bignum, Fixnum, Float, Integer, Precision, Numeric)
* More functionality in the socket library
* Removed bool to int implicit conversion
* Parser startup improvements, some tokenizer refactoring
* Various DLR improvements (hosting work, AST improvements, and more)
* Improved exception formatting (getting closer to MRI)

- John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080122/4f3a1557/attachment.html 


More information about the Ironruby-core mailing list