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?
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With