OOPAL in Squeak

Brian Rice water at tunes.org
Mon Mar 13 04:41:50 UTC 2006


Slate does this, but at the library level, without the usual higher- 
order method hacks (but using some convenient macros). I've never  
been a fan of F-Script's syntax change to make this work.

We do have generic "point-free style" adverb methods defined on  
blocks which allow writing in a concatenative style. They were  
inspired by K, although the wording is a bit different.

I don't really have time to go over this here, but most of the code  
is in src/lib/method.slate in the Slate repository (see http:// 
slate.tunes.org/ ).

I suppose http://slate.tunes.org/repos/main/src/lib/method.slate will  
give you the quickest way to look.

On Mar 12, 2006, at 5:54 AM, Steven H. Rogers wrote:

> OOPAL stands for Object Oriented Programming and Array programming  
> Language integration.  It is presently implemented in Objective-C  
> as part of the F-Script dialect of Smalltalk for the Mac.
>
> Array programming is a useful abstraction, particularly for numeric  
> work, that is largely orthogonal to OOP.  Array programming methods  
> allow extremely concise problem statements and solutions.  In the  
> 1960's Ken Iverson created APL (http://sigapl.org) at IBM as a  
> specification and rapid prototyping language.  Classic APL uses  
> symbols to represent primitive operations and requires a special  
> character set.  Modern APL variants J (http://jsoftware.ocm) and K/ 
> Q (http://kx.com) use one or two ASCII characters to represent  
> primitives.  Some APLs have added OO features. OOPAL adds array  
> programming to Smalltalk.
>
> Here's a paper describing OOPAL http://www.fscript.org/download/ 
> OOPAL.pdf .
>
> Regards,
> Steve
> ///////////////////
>
> Lord ZealoN wrote:
>> What is OOPAL?
>> 2006/3/12, stéphane ducasse <ducasse at iam.unibe.ch  
>> <mailto:ducasse at iam.unibe.ch>>:
>>     unfortunately not.
>>     I would love to see that happening...
>>     Stef
>>     On 12 mars 06, at 03:43, Steven H. Rogers wrote:
>>      >
>>      > A couple of years ago there was some discussion of  
>> implementing
>>      > OOPAL in Squeak.  Has anyone done any work on this?
>>      >
>>      > Regards,
>>      > Steve
>>      >
>>      > --
>>      > Steven H. Rogers, Ph.D., steve at shrogers.com
>>     <mailto:steve at shrogers.com>
>>      > Weblog: http://shrogers.com/weblog <http://shrogers.com/ 
>> weblog>
>>      > "He who refuses to do arithmetic is doomed to talk nonsense."
>>      > -- John McCarthy
>>      >
>>      >
>> --------------------------------------------------------------------- 
>> ---
>
> -- 
> Steven H. Rogers, Ph.D., steve at shrogers.com
> Weblog: http://shrogers.com/weblog
> "He who refuses to do arithmetic is doomed to talk nonsense."
> -- John McCarthy
>

--
-Brian
http://tunes.org/~water/brice.vcf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060312/b9d6d236/PGP.pgp


More information about the Squeak-dev mailing list