User Tools

Site Tools


Sidebar

Jump to
AmbientTalk
CRIME
iScheme

at:reference:reference

This is an old revision of the document!


AmbientTalk/2 Language Reference

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 Number.

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 LexicalRoot documents all operations available in the global lexical scope (top-level definitions, accessible unqualified). The object marked System documents the system native object.

Still to be added:

  • The functionality available in the system library shipped with the distribution.
at/reference/reference.1215604183.txt.gz · Last modified: 2008/07/09 13:51 (external edit)