muse_cell_data Union Reference

A muse cell is a union of all the possible cell types. More...

#include <muse_opcodes.h>

Collaboration diagram for muse_cell_data:

Collaboration graph
[legend]

Data Fields

muse_int_cell i
muse_float_cell f
muse_cons_cell cons
muse_nativefn_cell fn
muse_text_cell text

Detailed Description

A muse cell is a union of all the possible cell types.

In many lisp systems the cell data itself encodes the type of the contents. In muSE, only the cell reference encodes the cell's content type. A cell reference of type muse_cell is a 32-bit integer whose least 3-bits encode the cell type and the higher bits encode the index to the cell within the heap.

In a 32-bit build, muse_cell_data will be 64-bits in size. In a 64-bit, it'll be 128-bits in size.


Field Documentation

muse_int_cell muse_cell_data::i

muse_float_cell muse_cell_data::f

muse_cons_cell muse_cell_data::cons

muse_nativefn_cell muse_cell_data::fn

muse_text_cell muse_cell_data::text


The documentation for this union was generated from the following file:
Generated on Mon Sep 25 23:12:51 2006 for muSE by  doxygen 1.4.7