2 |
7u83 |
1 |
TENDRA C AND C++ PRODUCERS
|
|
|
2 |
==========================
|
|
|
3 |
|
|
|
4 |
This directory contains the source for the TenDRA C to TDF and C++ to TDF
|
|
|
5 |
producers. Most of the source is shared between the producers and is
|
|
|
6 |
defined in the common directory. The language dependent components
|
|
|
7 |
for the C and C++ producers are defined in the c and cpp directories
|
|
|
8 |
respectively. The primary language dependent component is the sid
|
|
|
9 |
grammar for each language which determines which features of the common
|
|
|
10 |
section can be accessed. Each language dependent directory also contains
|
|
|
11 |
a header, language.h, which defines macros:
|
|
|
12 |
|
|
|
13 |
LANGUAGE_C and LANGUAGE_CPP
|
|
|
14 |
|
|
|
15 |
which are used in the common source to select behaviour where the languages
|
|
|
16 |
differ, and to comment out sections which are not used by a particular
|
|
|
17 |
language.
|