SciSmalltalk in Squeak

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

SciSmalltalk in Squeak

Nicolas Cellier
Hi,
I have SciSmalltalk mostly working in Squeak, by adding a compatibility package with:
- a dumb Announcer/Announcement classes (announcing nothing)
- Number>** extensions

There is still one thing that annoys me, the transcripting at end of tests sends BlockClosure>>asText which fails in Squeak
I can define it too in the compatibility package, but is the transcripting really necessary?

Anyway, asText is just too much:
1) asText adds no emphasis, so is a void operation.
2) the first thing #show: will do is send asString to the text, so even if there would have been some intermediate emphasis, they would have vanished
I suggest using printString rather than asText

Also, here:
    show: self class name asByteString
asByteString is a very un-common message (see how many senders of it...)
This one would work equally well:
    show: self class name
So I suggest removing asByteString sends

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SciSmalltalk in Squeak

werner kassens-2
Hi Nicolas,
perhaps you might want to add a spec for: #squeak "or however thats called" do:[spec repository: 'http://www.smalltalkhub.com/mc/SergeStinckwich/SciSmalltalk/main'. spec package: 'Math-SqueakPrerequisite'].  part to the baseline to ensure that this package is at least loaded, when one downloads the complete project. or something more complicated; its just a rough and untried idea.
werner

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SciSmalltalk in Squeak

werner kassens-2
In reply to this post by Nicolas Cellier
Hi again,
i thought i could perhaps make a little documentation page in the git wiki, where i describe the packages in a sentence and where everybody can easily hook in their own docu for a package. for this id like to know , whether this compatibility package needs to be loaded in a certain sequence, that is needs it to be loaded first or last?
werner

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SciSmalltalk in Squeak

Nicolas Cellier
The proper way is to use Metacello.
So just add a #squeak section to the ConfigurationOfSciSmalltalk, and maybe a #pharo section too because the hyperbolic functions are already in Squeak kernel.
It's reasonnable to load the Prerequisite first (though it's required for ODE only right now).

On Wednesday, April 30, 2014 12:46:52 PM UTC+2, werner kassens wrote:
Hi again,
i thought i could perhaps make a little documentation page in the git wiki, where i describe the packages in a sentence and where everybody can easily hook in their own docu for a package. for this id like to know , whether this compatibility package needs to be loaded in a certain sequence, that is needs it to be loaded first or last?
werner

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SciSmalltalk in Squeak

werner kassens-2
>So just add a #squeak section to the ConfigurationOfSciSmalltalk,
>and maybe a #pharo section too because the hyperbolic functions
>are already in Squeak kernel.
 
Hi Nicolas,
i added this to a new '0.7-baseline', and also a 'Math-Quaternion' with: [spec requires: 'Math-Complex']. as i dont have squeak at the moment, it would be nice if you could check whether that works as you intended, youd need to fetch version:'0.7-baseline' or #development though as i have not yet updated the stable. please feel free to change that (perhaps an ode requires in the squeak section or so) or update the stable version. fwiw <friendly grin> i tell that only because it took myself awhile to learn that in sciSmalltalk it is expected that one changes these things,if they make sense, by oneself, i'm not responsible for the config. btw there are a few dependencies on dhb in the ComplexTests.
best regards
werner


--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SciSmalltalk in Squeak

Nicolas Cellier



2014-05-01 14:01 GMT+02:00 werner kassens <[hidden email]>:
>So just add a #squeak section to the ConfigurationOfSciSmalltalk,
>and maybe a #pharo section too because the hyperbolic functions
>are already in Squeak kernel.
 
Hi Nicolas,
i added this to a new '0.7-baseline', and also a 'Math-Quaternion' with: [spec requires: 'Math-Complex']. as i dont have squeak at the moment, it would be nice if you could check whether that works as you intended, youd need to fetch version:'0.7-baseline' or #development though as i have not yet updated the stable. please feel free to change that (perhaps an ode requires in the squeak section or so) or update the stable version. fwiw <friendly grin> i tell that only because it took myself awhile to learn that in sciSmalltalk it is expected that one changes these things,if they make sense, by oneself, i'm not responsible for the config. btw there are a few dependencies on dhb in the ComplexTests.
best regards
werner



Thanks!
I'll try and have a look in Squeak, don't bother too much about it.
And yes, there are dependencies... That means that we should separate some Math-Tests-ComplexExtensions...

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SciSmalltalk in Squeak

werner kassens-2
In reply to this post by Nicolas Cellier
Hi,
i just uploaded ConfigurationOfSciSmalltalk no 67, that defines a new stable version, which should also work for squeak, at least the tests seem to  work.
werner

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.