views:

146

answers:

3
+2  Q: 

GNU Smalltalk API?

I have recently been learning Smalltalk, mainly by going through the tutorial at gnu.org.

While it has been really helpful and I have learned a lot, I would really like an extensive smalltalk API where I could view all of the built in objects and which messages they can receive, and what they will do with those messages.

The manual has a list of all of the built in objects, but doesn't really explain anything about them. Some are obvious, like an Array, but I still don't know what all the messages are an Array understands.

There is a link to a 'class reference' here, which is generated by Smalltalk, but the link is broken. I was wondering if anyone knows of something like this hosted elsewhere, or could point me towards a similar resource.

+2  A: 

Learning Smalltalk is a lot easier in an image-based system like Pharo or Squeak. They have code browsers and inspectors.

Stephan Eggermont
You mean GUI-based I guess. GNU Smalltalk is image-based too, and it now even has a browser, VisualGST: http://smalltalk.gnu.org/blog/mrgwen/visualgst-0-7-0
Damien Pollet
+1  A: 

You will learn about the API by browsing the code, either from the image or from other projects.

What I think you will still need, though, more than the API, is a tutorial that gives a feel for the language and how to think in Smalltalk. For me it was Alec Sharp's Smalltalk by Example, which is freely dowloadable from Stéphane Ducasse's list of free Smalltalk books.

Damien Pollet