Conventions
Details that are specific to the current (sole) implementation of OScript will be described in boxes like this.
Examples and sample code will be presented in boxes like this.
Warnings about dangerous practices are presented in boxes like this.
Text representing code is presented in a fixed-width font
. Text in code that is intended to be
replaced, or representing a class of possible values are presented in italics
.
The sections on syntax make extensive use of railroad diagrams, a common method of describing syntax. Each
smooth path from the start of the diagram to the end, including loop-backs, represents a syntactically valid
piece of code. Literal text is represented in round boxes in a fixed-width font. Square boxes with a san-serif
font represent a subdiagram. The values in round boxes are called terminals, while those in square boxes are
called non-terminals.
- a general introduction to the OScript programming language
- contains information about the types of preprocessor directives that OScript supports
- contains information about how OScript source code is parsed
- contains information about the fundamental types of values that can be manipulated using OScript
- information about visibility and mutability modifiers
- describes behaviour and semantics of the OScript language
- contains information on how to include OScript in HTML files
- contains information about internationalizing Content Server using OScript