[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1 General syntax

A definition file should have the extension `.def', and is a freely formatted file consisting of numbers, strings, comments, keywords, and various punctuation.

A definition file consists of several clauses, which generally have syntax like the following:

 
clause-kind { specific-data... }

For example, here is a complete definition file for a (hypothetical) fairly large non-beamable application:

 
application { "Dr McCoy" DAFp copy-prevention }

/* This app has three code resources: code #1 with all unannotated
   functions, #2 with functions placed in the "editfns" section,
   and #3 with "viewfns" functions.  */

multiple code { editfns viewfns }



This document was generated by Antti-Juhani Kaijanaho on May, 2 2005 using texi2html