TDF Specification, Issue 4.0

January 1998

next section previous section current document TenDRA home page document index


Preface
1 - Introduction
2 - Structure of TDF
3 - Describing the Structure
4 - Installer Behaviour
5 - Specification of TDF Constructs
6 - Supplementary UNIT
7 - Notes
8 - The bit encoding of TDF
Index

Preface

This is Issue 4.0 of the TDF Specification. TDF version 4.0 is not bitwise compatible with earlier versions.

Major changes from Issue 3.1

A new SORT for STRING is introduced having the same relationship to TDFSTRING as BOOL has to TDFBOOL. This is used in place of TDFSTRING in various 3.1 constructions.

They are also used in modified tag and token definitions and declarations to provide extra consistency checks in the use of these tags or tokens, and also may be used as names external to the TDF system. For example, the signature of make_id_tagdec is now:

	t_intro:	TDFINT
	acc:		OPTION(ACCESS)
	signature:	OPTION(STRING)
	x:		SHAPE
		   -> TAGDEC
A new EXP constructor, initial_value, is introduced to allow dynamic initialisation of global tags.

These changes arise mainly from requirements of C++, but are clearly applicable elsewhere.

Magic numbers are introduced at the start of files containing TDF bitstream information.

The version 3.1 constructor set_stack_limit has had to be modified in the light of experience with platforms with ABIs which require upward-growing stacks or use disjoint frame stacks and alloca stacks.

Various other minor changes have been made to elucidate some rather pathological cases, e.g. make_nof must have at least one element. Also there are some cosmetic changes to improve consistency, e.g. the order of the arguments of token are now consistent with token_definition.

Notes on Revision 1

This Revision 1 of Issue 4.0 incorporates a number of corrections which have arisen where inconsistency or impracticability became evident when validating the OSF Research Institute's AVS (ANDF Validation Suite). Apart from minor textual corrections, the changes are:

Changes under consideration but not included in Issue 4.0:


Part of the TenDRA Web.
Crown Copyright © 1998.