Starting on Number support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Starting on Number support

Robert Roland
Hi all,

I've started work on parsing Numbers in Redline.  Literal numbers were already supported in the grammar, but now they form Integer objects.  This work is far from complete, because I'm parsing any literal number as a java.lang.Integer, but I'll be adding support for SmallInteger, LargePositiveInteger and LargeNegativeInteger soon, along with the applicable Smalltalk primitives for arithmetic.

Thanks,

Rob
Reply | Threaded
Open this post in threaded view
|

Re: Starting on Number support

SeanTAllen
Excellent. 

I saw the first merge request from this and left a couple minor comments for things to be addressed, questions etc.

On Saturday, September 10, 2011 at 4:32 PM, Rob Roland wrote:

Hi all,

I've started work on parsing Numbers in Redline.  Literal numbers were already supported in the grammar, but now they form Integer objects.  This work is far from complete, because I'm parsing any literal number as a java.lang.Integer, but I'll be adding support for SmallInteger, LargePositiveInteger and LargeNegativeInteger soon, along with the applicable Smalltalk primitives for arithmetic.

Thanks,

Rob