[Newbies] regular expressions

Rob Rothwell r.j.rothwell at gmail.com
Sun Sep 28 15:44:48 UTC 2008


In the dev image, from the world menu, select "open...", then "Universe
Browser (enhanced)" (or basic if you prefer).  Make sure up update the list
from the network.
Now others will have to chime in, because you can also select "open..." and
then "Squeak Map Package Loader."  Much of the same material is in both
places, but they ARE different somehow.  I've never been quite clear how.

However, if you take a standard dev image, and execute (in a workspace):


(HTTPSocket httpGet: 'installer.pbwiki.com/f/LPF.st') readStream fileIn.
"Bootstrap"

and then

Installer install: 'Packages'.

You will get a pretty nice stable image with nearly every dev image release,
at which point you can also load packages by doing things like:

Installer sake addPackage: 'FreeTypePlus'; install.
Installer sake addPackage: 'MemoryUsage'; install.
MemoryUsage new openInWorld.

(These are just two packages I like to load).  Anyway, the nice thing about
using the Universe Browser or the Sake package loader is that they take care
of the dependencies for you...

I have NO IDEA how it all works--I've just finally figured out how to use
it.

Also,  with a fresh dev image, try, in the Universe Browser, updating the
list, then "select upgrades."  Click the "all" button, and scroll through
the list.  It will show you what packages it selected.  You can than update
if you want...

Play around a bit, but ask folks if you can't get something to load right.
 However, it sure seems like things are a lot better than they were a year
or so ago when the Foreign Function Interface (FFI) wouldn't load right in
many images and caused a lot of problems.  Everything seems very smooth now
unless the server is having some issues.

Good luck, and don't forget to check out Squeak By Example for the
Monticello section...

Rob


On Sun, Sep 28, 2008 at 11:30 AM, Mark Volkmann <mark at ociweb.com> wrote:

> On Sep 28, 2008, at 9:31 AM, Norbert Hartl wrote:
>
>  On Sun, 2008-09-28 at 09:16 -0500, Mark Volkmann wrote:
>>
>>> Does the standard Squeak image contain a class for operating on
>>> regular expressions?
>>>
>>>  No, nothing beside String>>matches: But you can load
>> a regex package from squeaksource. You know squeaksource
>> already?
>>
>
>
> No. It sounds like I need to learn about that. Where should I start? Is
> there a special tool in Squeak that downloads packages from SqueakSource? Is
> that the main purpose of the Monticello Browser?
>
> ---
> Mark Volkmann
>
>
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080928/300916b1/attachment.htm


More information about the Beginners mailing list