My question is not listed here!

Tagged:

Write it in a comment to this question.

How do I change the font size that BLOX uses to something larger???

What is "The Smalltalk for those who can type" supposed to mean?

Hi!

One of the reasons that I'm using Perl is CPAN. Is there something like what in SmallTalk? Can we find or download extra modules (or classes) easily?

Thanks.

Squeak has SqueakSource; some of the modules there are ported easily to GNU Smalltalk.

GNU Smalltalk does not have a CPAN-like repository yet, but you can register projects right here on this site. Downloads in .star format can be installed easily just by doing gst-package /path/to/Package.star (see this FAQ, which could be augmented really).

Squeak has SqueakSource; some of the modules there are ported easily to GNU Smalltalk.

GNU Smalltalk does not have a CPAN-like repository yet, but you can register projects right here on this site. Downloads in .star format can be installed easily just by doing gst-package /path/to/Package.star (see this FAQ, which could be augmented really).

Hi there

I have read and re-read every piece of documentation I can lay my hands on, and just can not get gst to start a GUI based browser. It seems to me that your docs are hopelessly outdated. I must say I am very disappointed that a language as simple and beautiful as Smalltalk has been so completely obfuscated in this implementation. I have been programming in Smalltalk for 20 years, and have developed GTK apps for 5 in C, and I can't get the GUI to come up. No wonder people don't want to use Smalltalk !

Sigh

Comments about your disappointment are probably best sent to the mailing list so that we can fix the problems you felt. BTW, it is nice to sign yourself if you type your comment as anonymous.

However, indeed the FAQ was outdated. What you have to do is just type gst-blox.

I wish I could get syntax similar to the "how does smalltalk look like" section to work, but I get:

stdin:1: parse error, expected '!'

The snippet in question is:

   Object subclass: Person [
       | name age |
       Person class >> name: aString age: anInteger [
           ^self new name: aString; age: anInteger; yourself
       ]
   
       name [ ^name ]
       name: aString [ name := aString ]
       age [ ^age ]
       age: anInteger [ age := anInteger ]
   
       printOn: aStream [
           aStream << ('%1 (%2)' % {name. age})
       ]
   ]

thanks.

I added a note to the FAQ, saying that the syntax works only in the current development branch.

Paolo

Looks like I need to poke a Debian maintainer or (gasp) do the unthinkable and compile from source myself...

sam@sol:~$ gst -v
GNU Smalltalk version 2.3.2
Copyright 2006 Free Software Foundation, Inc.
Written by Steve Byrne (sbb@gnu.org) and Paolo Bonzini (bonzini@gnu.org)

GNU Smalltalk comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Smalltalk under the terms of the
GNU General Public License. For more information, see the file named
COPYING.

Using default kernel path: /usr/local/share/smalltalk/kernel
Using default image path: /usr/local/share/smalltalk

... this or this for instruction on how to compile it. Note that development versions are good but still not release-quality (though they have so many new features that they are worth using anyway!) which is why Debian's maintainers haven't packaged them yet.

Paolo

User login