Re: imcc concat and method syntax

2004-03-14 Thread Leopold Toetsch
Melvin Smith <[EMAIL PROTECTED]> wrote: > foo.baz is a method or member access > foo . baz is concatenation So it is now. CONCAT requires whitespace on either side. > -Melvin leo

Re: imcc concat and method syntax

2004-03-13 Thread Melvin Smith
At 02:42 PM 3/13/2004 -0800, Steve Fink wrote: > > currently, the pir line > > S5 = S5 . 'foo' > > produces > > error:imcc:object isn't a PMC > > > > concatenation with . seems to be gone > > i cannot think of a good replacement for it > This should be fixable with some lexer or parser twe

Re: imcc concat and method syntax

2004-03-13 Thread Kenneth A Graves
On Sat, 2004-03-13 at 17:07, luka frelih wrote: > > But how should the two interpretations of x.x be resolved? Is that > > concatenation or method calling? > > wouldnt it be better to keep . as string glue > and have method calls use the arrow -> or some > such? Or follow perl6 and use ~ for stri

Re: imcc concat and method syntax

2004-03-13 Thread Steve Fink
On Mar-13, Luke Palmer wrote: > luka frelih writes: > > >But how should the two interpretations of x.x be resolved? Is that > > >concatenation or method calling? > > > > currently, the pir line > > S5 = S5 . 'foo' > > produces > > error:imcc:object isn't a PMC > > > > concatenation with

Re: imcc concat and method syntax

2004-03-13 Thread Luke Palmer
luka frelih writes: > >But how should the two interpretations of x.x be resolved? Is that > >concatenation or method calling? > > currently, the pir line > S5 = S5 . 'foo' > produces > error:imcc:object isn't a PMC > > concatenation with . seems to be gone > i cannot think of a good

imcc concat and method syntax

2004-03-13 Thread luka frelih
But how should the two interpretations of x.x be resolved? Is that concatenation or method calling? currently, the pir line S5 = S5 . 'foo' produces error:imcc:object isn't a PMC concatenation with . seems to be gone i cannot think of a good replacement for it wouldnt it be better