Syntax of Embedded Speech Commands

This appendix provides a formalization of the embedded command syntax structure, subject to the following conventions:

Table A-1 defines the identifiers used in embedded commands.

Table A-1  Embedded command syntax structure

Identifier

Syntax

CommandBlock

<BeginDelimiter> <CommandList> <EndDelimiter>

BeginDelimiter

<String1> | <String2>

EndDelimiter

<String1> | <String2>

CommandList

<Command> [; <Command>] ...

Command

<CommandSelector> [Parameter] ...

CommandSelector

<OSType>

Parameter

<OSType> | <String1> | <String2> | <StringN> | <RealValue> | <32BitValue> | <16BitValue> | <8BitValue>

String1

<Character>

String2

<Character> <Character>

StringN

[<Character> ...]

OSType

<Character> <Character> <Character> <Character>

32BitValue

<OSType> | <LongInt> | <HexLongInt>

16BitValue

<Integer> | <HexInteger>

8BitValue

<Byte> | <HexByte>

RealValue

<Decimal number: 0.0000 [&#8804;] N [&#8804;] 65,535.9999>

LongInt

<Decimal number: 0 [&#8804;] N [&#8804;] 4,294,967,295>

HexLongInt

<Hex number: 0x00000000 [&#8804;] N [&#8804;] 0xFFFFFFFF>

Integer

<Decimal number: 0 [&#8804;] N [&#8804;] 65,535>

HexInteger

<Hex number: 0x0000 [&#8804;] N [&#8804;] 0xFFFF>

Character

<Any printable character (for example A, b, *, ~, \)>

Byte

<Decimal number: 0 [&#8804;] N [&#8804;] 255>

HexByte

<Hex number: 0x00 [&#8804;] N [&#8804;] 0xFF>