Submitted by Anonymous on Mon, 05/12/2008 - 08:27.
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 !
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
Submitted by Paolo Bonzini on Tue, 10/02/2007 - 16:49.
... 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.
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
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