I've committed the latest revisions of the Cola compiler.
Primitive OOP is supported now. See the commit notes:
"Cola 0.0.6 now supports primitive OOP. You can define
class methods and call by class or instance. Instance
calls are currently faked into class calls and there
isn't yet support for m
On Thu, 21 Mar 2002, Melvin Smith wrote:
> Ahhh, those simpler days
>
> Hmm you have just given me an evil idea...
I must have had the same idea in the same instant. :-)
- D
<[EMAIL PROTECTED]>
1 cc:
AM Subject: Re:
At 5:15 AM -0500 3/21/02, Melvin Smith wrote:
>Well you can now write neato string code with Parrot with standard
>array notation. I mapped it onto the substr w/replace op.
>
>// copy a string
>int i = 0;
>while(str[i] != "")
>newstr[i] = str[i++];
Shares of Atari Basic... Cool. ;)
--
Well you can now write neato string code with Parrot with standard
array notation. I mapped it onto the substr w/replace op.
// copy a string
int i = 0;
while(str[i] != "")
newstr[i] = str[i++];
-Melvin