v10.50 v10.55 Alpha v10.54 Alpha v10.53 Alpha v10.52 Alpha v10.51 Alpha
v10.50 v10.55 Alpha v10.54 Alpha v10.53 Alpha v10.52 Alpha v10.51 Alpha

Voyager Exerciser Introduction

The Voyager Exerciser Language provides rich language and preprocessor capabilities and allows you to implement even complicated generation scenarios.

Typically, Voyager Exerciser Language constructions do not require special separation symbols (such as the semicolon in C languages) to distinguish between different constructions. Where possible, script parsing uses "context-dependency" rather than separation symbols, thus simplifying writing of generation scripts.

Also, Voyager Exerciser Language constructions are not case-sensitive.

This document describes the syntax of the Exerciser Generation Script Language.

You can start the exerciser script editor by clicking that button in the USB Protocol Suite application to display an editor user interface, in which you can create and edit generation script files, as well as reuse codes.

Each running module must have at least one function named Main, which starts and ends the generation script.

Declaration Conventions

Parentheses

In declarations and descriptions of Voyager Exerciser Language instructions,
the format "(" ")" specifies a list of keywords that have the same value and can replace each other. The declaration

( Packet | Struct ) Template_Name …

specifies that you can use the "Packet", or "Struct" keyword for template name declarations.

Brackets

In declarations and descriptions of Voyager Exerciser Language instructions,
the format "[" "]" specifies optional parts of declarations or instruction parameters. The declaration

( Packet | Struct ) Template_Name [ Ancestor_1, Ancestor_ 2, … ] [ (Attribute list) ]

specifies that the listed ancestors and attribute lists are optional for template name declarations.

Script Example Highlighting

Voyager Exerciser Language examples in this document show syntax highlighting similar to that in the Generation Script Editor.