[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Cardinal-dev] RubyInRuby parser/compiler
From: |
Erik Bågfors |
Subject: |
Re: [Cardinal-dev] RubyInRuby parser/compiler |
Date: |
07 Jan 2003 22:20:11 +0100 |
On Fri, 2003-01-03 at 23:36, Dan Sugalski wrote:
> Oh, you do. While the addition is of two constants, they're ruby
> integer constants, with whatever behaviour is appropriate for them,
> so the Fixnum addition method will get called. (I assume Ruby doesn't
> do constant folding)
>
> >Also, the following code is not strange in ruby
> >a = -1.abs()
> >
> >So we need to view constants as full objects.
> >
> >The fact that the JRuby-guys did it this way also convinces me.
>
> Never said they wouldn't be. There won't be one forced universal
> constant type, since that's untenable for all the languages we're
> looking at. Ruby code will have different constant types than
> perl/python/java/C#/whatever does, which is fine.
Just a short question,
Are "constants" working already? How do I use them (preferably imcc
syntax :) )???
/Erik
--
Erik Bågfors | address@hidden
Supporter of free software | GSM +46 733 279 273
fingerprint: 6666 A85B 95D3 D26B 296B 6C60 4F32 2C0B 693D 6E32
- Re: [Cardinal-dev] RubyInRuby parser/compiler, (continued)
Re: [Cardinal-dev] RubyInRuby parser/compiler, Erik Bågfors, 2003/01/01
Re: [Cardinal-dev] RubyInRuby parser/compiler, Dan Sugalski, 2003/01/02
- Re: [Cardinal-dev] RubyInRuby parser/compiler, Erik Bågfors, 2003/01/03
- Re: [Cardinal-dev] RubyInRuby parser/compiler, Dan Sugalski, 2003/01/03
- Re: [Cardinal-dev] RubyInRuby parser/compiler, Erik Bågfors, 2003/01/04
- Re: [Cardinal-dev] RubyInRuby parser/compiler, Dan Sugalski, 2003/01/05
- Re: [Cardinal-dev] RubyInRuby parser/compiler, Anders Bengtsson, 2003/01/05
- Re: [Cardinal-dev] RubyInRuby parser/compiler, Dan Sugalski, 2003/01/05
Re: [Cardinal-dev] RubyInRuby parser/compiler,
Erik Bågfors <=
Re: [Cardinal-dev] RubyInRuby parser/compiler, Dan Sugalski, 2003/01/08