Language overview

MolTalk is an interpreter of the Smalltalk language, based on StepTalk. It takes an input file, which is the code you wrote. Starting at the very beginning it finds its way through that code and compiles it into an internally hidden byte-code format about which we don't care. This code is a representation of all the commands and their arguments, and all the logic of your program. MolTalk then sets out to interpret this internal structure byte by byte.

Comments are written between `` and `` as many lines long as you wish. This feature is helpful to document scripts. They will not impair the speed of interpretation, so use them frequently.

At the start of the interpreter, first, an array (9.3) named ARGS is built, which contains all the parameters that have been passed on the command line after the script name. Second, the method main in your script is called by the interpreter.



Subsections

moltalk@moltalk.org      version of this document: V3.0