Next: , Previous: , Up: Alien Objects   [Contents][Index]


8.2 Alien Types

Alien types have a description language based on nested list structure. For example:

struct foo {
    int a;
    struct foo *b[100];
};

has the corresponding Alien type:

(struct foo
  (a int)
  (b (array (* (struct foo)) 100)))