[squeak-dev] Anyone know the following about Slang?

Eliot Miranda eliot.miranda at gmail.com
Mon Jul 7 17:38:51 UTC 2008

On Mon, Jul 7, 2008 at 4:16 AM, Igor Stasenko <siguctua at gmail.com> wrote:

> I wonder, is it would be better to support reverse, like by declaring:
> self macro: true.
> in method body , tell CodeGenerator to generate a macro definition
> instead of C function?

I've added support for the following:
stackPageAt: index pages: thePages
<cmacro: '(index,pages) ((pages) + (index) - 1)'>
^thePages at: index

which generates

#define stackPageAtpages(index,pages) ((pages) + (index) - 1)

but this is using a 3.8/Tweak method property and I want it to be a proper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080707/1e053c41/attachment.htm

More information about the Squeak-dev mailing list