next up previous contents
Next: 4.8.1 C Declarations Up: 4. The FiST Language Previous: 4.7.2 Filter Functions

   
4.8 Language Syntax

A FiST input file has four main sections, shown in Figure fig-fist-grammar with the appropriate delimiters:


  
Figure: FiST Grammar Outline

Figure: FiST Grammar Outline


C Declarations


FiST Declarations


FiST Rules


Additional C Code






1.5in


C Declarations


FiST Declarations


FiST Rules


Additional C Code


Comments (enclosed in /* ... */) may appear in any of the sections and will be copied verbatim to the output file. C++ style comments starting with // are only useful for the FiST input file, as they get completely stripped during translation.



 

Erez Zadok
1999-12-07