[squeak-dev] Pragma support in Squeak/Pharo/Cuis

Igor Stasenko siguctua at gmail.com
Fri Jan 28 13:07:33 UTC 2011


On 28 January 2011 13:59, Juan Vuletich <juan at jvuletich.org> wrote:
> Torsten Bergmann wrote:
>>
>> Hi,
>>
>> I would like to port the recent changes made to HelpSystem
>> (for instance to be able to mark a method with a pragma
>>  like <wikiStyleHelp: 'My Book'>)
>> This would allow to define and load help contents without any dependency
>> on the help system.
>>
>> Unfortunately Squeak now differs (a little bit?) from Pharo regarding the
>> Pragma support. There is no PragmaCollector class, ...
>> Dont know if there are more differences, any ideas/experiences?
>> What about Cuis?
>>
>> Would'nt it make sense to use a similar implementation in all worlds?
>> Comments appreciated.
>> Thx
>> T.
>
> Hi Torsten,
>
> You mean "method annotations" right? ('Pragma' has a completely different
> meaning in the language / compilers that use them, and is a very bad name
> for this).
>
Is this sarcasm? yeah?
This naming used for years, and now it became not simple bad, but
_very_ bad name :)

> Cuis doesn't currently support method annotations.
>

huh... how then you specifying a primitive(s) in method? and FFI?
or in same way you can say.. yeah this is not pragma , its a primitive..
but it doesn't makes any difference.

You may call it  'a method's meta-data' or any other way you like it,
i _dont_ care!
As long as the idea behind is will remain same.


> Cheers,
> Juan Vuletich
>


-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list