Previous section: Appendix A: How to get more information

Dylan reference manual -- Appendix B: Dylan Syntax BNF

Appendix B: Dylan Syntax BNF

The grammar uses some special notation to make it more readable.

* The opt suffix means that the preceding item is optional.

* A trailing ellipsis (...) is used in two different ways to signal possible repetition.

* If there is only one item on the line preceding the ellipsis, the item may appear one or more times.

* If more than one item precedes the ellipsis, the last of these items is designated a separator; the rest may appear one or more times, with the separator appearing after each occurrence but the last. (When only one item appers, the separator does not appear.)

Next section: Lexical grammar