Appendix C. Summary of ScoreFile Language Syntax

Table of Contents
Program Structure
Header Statements
Header or Body Statements
Body Statements
Operators
Constants, Predeclared Variables, and Special Symbols

This appendix gives a succinct summary of the syntax of the ScoreFile language. Chapter 7 provides a general description and explanation of ScoreFile syntax and ScoreFile program organization.

Program Structure

scorefile:

[ header ] [ BEGIN ; [ body [ END ; ] ] ]

header:

headerStatement ; [ header ]

headerStatement:

scoreInfoStatement

partDeclaration

partInfoStatement

tagRangeDeclaration

headerOrBodyStatement

body:

bodyStatement ; [ body ]

bodyStatement:

timeStatement

noteStatement

headerOrBodyStatement

headerOrBodyStatement:

variableDeclaration

envelopeDeclaration

waveTableDeclaration

objectDeclaration

assignmentStatement

includeStatement

printStatement

tuneStatement

commentStatement

endCommentStatement