[squeak-dev] how can I test host environment: Pharo or Squeak

H. Hirzel hannes.hirzel at gmail.com
Tue Oct 17 18:19:22 UTC 2017


Grease  http://wiki.squeak.org/squeak/3750

On 10/17/17, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
> Grease is a dialect-specific layer that enables Seaside to be ported on
> different Smalltalks.
>
> 2017-10-17 17:52 GMT+02:00 Alan Pinch <alan.c.pinch at gmail.com>:
>
>> What's Grease? I have not heard of it before. Is this something that
>> might
>> work between squeak and pharo? ANd cuis?
>>
>> Alan
>>
>>
>>
>> On 10/17/2017 11:38 AM, Tobias Pape wrote:
>>
>>> Correct.
>>>
>>> But depending on what you do, using Grease or Metacello might be better.
>>>
>>> Best regards
>>>         -Tobias
>>>
>>>> On 17.10.2017, at 17:31, Fabio Niephaus <lists at fniephaus.com> wrote:
>>>>
>>>> This should work:
>>>>
>>>> isSqueak
>>>>    ^ SystemVersion current version beginsWith: 'Squeak'
>>>>
>>>> Best,
>>>> Fabio
>>>>
>>>> On Tue, Oct 17, 2017 at 4:15 PM Alan Pinch <alan.c.pinch at gmail.com>
>>>> wrote:
>>>> I am trying to keep a single package for both. Is there a good clean
>>>> way
>>>> to test whether I am in squeak or Pharo?
>>>>
>>>> --
>>>> Thank you for your consideration,
>>>> Alan
>>>>
>>>>
>>>>
>>>>
>>>
>> --
>> Thank you for your consideration,
>> Alan
>>
>>
>>
>


More information about the Squeak-dev mailing list