Inspirel banner

Programming Distributed Systems with YAMI4

10.2 YDL Syntax

The YAMI4 Definition Language supports the following declarative elements:

An example, very simple package definition that describes a single user-define type and a single interface with single oneway message that carries the payload of the user-defined type can look like:

package Hello_World is   

   type Text is
      Content : String;
   end Text;

   interface Greetings is
      oneway message Say_Hello (T : in Text);
   end Greetings;

end Hello_World;

The YAMI4 Definition Language elements are described in the following subsections.

10.2.1 General Conventions

10.2.2 Packages

10.2.3 Record Types

10.2.4 Interfaces And Messages