Tech summary for SDL language.

Characters. SDL uses the ASCII characters. They are separated into the following types:

    • word symbols: letters(a-z,A-Z), _ , ~ , $ , @ and some others;
    • decimal digits (0-9);
    • special symbols: " ' ; : . ? & # * + - / \ ( ) < > { } [ ] | = % ^ !;
    • separating symbols: commas, spaces and End-Of-Line marks

Records. The source file contains a few records looking like:

header: field1, field2,....,fieldN;

where

header - record name, i.e. the word followed by a colon;
field1, field2,....,fieldN - record body, i.e. everything staying between collon and semicollon ;
field1-fieldN - record fields, these are: words, data and other records, divided by separating symbols.

word: starting with word symbol ,ñontaining word symbols and digits, and not contaning special or separating symbols. Words are not case-sensitive: QWERTY will mean the same as qwerty.

data: may be of the next types:

  • number (decimal),
  • string (any symbol sequence, starting from and ending by quotation mark),
  • hyperlink (any symbol sequence, starting from and ending by apostroph),
  • colors colors should be presented in hexadecimal RGB format, starting from and ending by quotation mark. Thus, pure red color will be "ff0000", pure green - "00ff00" , blue - "0000ff".

Contexts. Any record, except generic one, forms some feature context. This context may be individual or common(system). The first specifies features or properties of separate objects, the second specifies common object or system features. In individual contexts one can use common alias ** (double asterix) to assign the feature to all those objects which where not mentioned directly in this context.

SEE EXAMPLE

(c) 1998 EverJ Group. All rights reserved.