Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Syntax for file-based Smalltalks are there?

I know of GNU Smalltalk's Syntax that puts the method body surounded by square-brackets after the selector like so:

add: anObject [ self tally add: anObject. ]

Are there other file based approaches?

like image 877
Richard Durr Avatar asked Nov 01 '10 16:11

Richard Durr


People also ask

Is Smalltalk language still used?

Smalltalk is still very relevant. It's an excellent instructional language for teaching programming to people who have no technical background. It's a superlative prototyping language for startups. It's an industrial-strength enterprise language used by businesses both big and small all around the globe.

What is Smalltalk used for?

Mostly used for application modeling, Smalltalk was created based on basic object principles, which dictate that each thing is an object, and each object can communicate with other objects.

What is Smalltalk written in?

Smalltalk is a general purpose object oriented programming language which means that there are no primitives and control structures like a procedural language and in this only objects are communicated by the sending of messages and has its applications in almost every industries and every possible domains.

What is Smalltalk in computer?

Smalltalk was one of many object-oriented programming languages based on Simula. Smalltalk is also one of the most influential programming languages. Virtually all of the object-oriented languages that came after—Flavors, CLOS, Objective-C, Java, Python, Ruby, and many others—were influenced by Smalltalk.


1 Answers

There is the chunk file format which is what GNU Smalltalk (GST) used to use, and which most other Smalltalks support as File In/Out format. The contents of the Squeak sources and changes files are in this format.

Additionally there is the Smalltalk Interchange Format (SIF) which is specified by the ANSI Smalltalk standard, which is similar to the chunk format but incorporates some additional metadata and structure. I know that there is a reader for SIF in GST, but I'm not sure if VisualWorks or Squeak have readers for this format.

like image 68
samdphillips Avatar answered Sep 16 '22 12:09

samdphillips