Download Freeway® Transport Subsystem Interface Reference Guide

Transcript
3: TSI Configuration
3.6.2 Protogate Definition Language (PDL) Grammar
The following extended BNF metalanguage describes the language used to create the TSI
text configuration file. The following is a brief description of the symbols used:
1. A string inside of <> is a non-terminal symbol. Its definition is located somewhere
down the list.
2. Strings inside of {} separated by a vertical bar (|) make up a list of options. You can
select one or none of the options.
3. A string inside of [] is an optional string.
4. Terminal symbols are those not surrounded by <>.
Context Free Grammar
<config_entry> ::= <connection_name> <leftbr> <config_stmt_list> <rightbr>
<connection_name> ::= <identifier>
<config_stmt_list> ::= <config_stmt>{<config_stmt_list>}
<config_stmt> ::= [<parameter_name> <equal><parameter_value>;]
<paramter_name> ::= <identifer>
<parameter_value> ::= {<string> | 0x<hex> | <decimal> | 0<octal>
0b<binary> | <float>}
<string> ::= <doublequote><str><doublequote>
<str> ::= [<char>{<str>}]
<decimal> ::= <decdigit>[<decimal>]
<octal> ::= <octdigit>[<octal>]
<binary> ::= <bindigit>[<binary>]
<hex> ::= <hexdigit>[<hex>]
<float> ::= <decimal>.<decimal>
<equal> ::= =
<leftbr> ::= {
<rightbr> ::= }
<doublequote> ::= "
DC 900-1386D
69