This is an old revision of the document!
How to read the documentation: the above language reference is a modified Javadoc documentation extracted from the interpreter's source code. The documentation talks about classes, packages and interfaces. Of course, these concepts do not exist in AmbientTalk. However, at the implementation-level, a class in the interpreter corresponds to an abstract data type provided to the AmbientTalk programmer. Its methods correspond to the methods which the AmbientTalk programmer can invoke upon them. Thus, if you want to look up what methods are applicable on numbers, check the methods of class
Methods that take an
Object as an argument should be interpreted as taking an arbitrary number of arguments (i.e. an
@args parameterlist in AmbientTalk).
Note that the class hierarchy does not accurately reflect the delegation hierarchy in between objects. All objects eventually delegate to Nil, so all methods defined on Nil are applicable on all objects.
The language reference documents:
edu.vub.at.actors.*: data types pertaining to AmbientTalk actors.
edu.vub.at.objects: the methods available on native data types
edu.vub.at.objects.grammar: the structure of abstract syntax tree objects (for metaprogramming)
edu.vub.at.objects.natives: the object marked
LexicalRootdocuments all operations available in the global lexical scope (top-level definitions, accessible unqualified). The object marked
The most important functionality available in the system library shipped with the distribution is summarized in the tutorial's appendix.