alphabet and grammar
you type cmd-h with the 'option' key down you have the option to display the
alphabet in its "tokenised" form. A
is useful to show whatever the compiler has been able to understand. It is
displayed in a multi-purpose window called the "Trace" window.
in the "Trace" window
tokenised alphabet actually displays the entire mapping of
that was partly defined in the original alphabet (see §2.4). Predefined
symbols '-' and '_' represent
respectively. These are not modified by any homomorphism. Other symbols are
specific to this "-ho.abc1" alphabet. Homomorphism '
changes 'a' to 'a'', but 'a'' remains unchanged. Symbol 'chik' is also not
affected by the transformation. (See §2.4 or reference manual §4.1
to understand homomorphisms.)
carefully at the alphabet you may notice that a new terminal symbol 'sync' has
been appended: it was not in the original file "-ho.abc1". The symbol was
actually found between single quotes in the grammar, and therefore appended at
compile time. Similarly, out-time sound-objec
between angle brackets <<>> may contain terminal symbols that BP2
creates at compile time.
tokenised grammar is shown Fig.12.
in "Trace" window
rules have been numbered and contain
(See an explanation of weights in reference manual §4.6) Rules that were
not assigned explicit weights appear with default weight <127>, a value
that fits well with MIDI parameters.
note that commentaries [between square brackets] or lines starting with double
slashes have been left out.
has no real effect on computation. For instance, the order in which rules are
scanned in "ORD" grammars (see reference manual §4.4) is always their
actual order of occurrence in the grammar. Nevertheless, BP2 renumbers
subgrammars and rules at compile time. These numbers are used for conditional
(see §8.1 of reference manual).