49
edits
| Line 18: | Line 18: | ||
=== Script statement syntax === | === Script statement syntax === | ||
In the examples in these descriptions, a space ' ' is the same as any whitespace except newline, and all of the newline chars are represented by just '\n', to make easier to read. | In the examples in these descriptions, a space ' ' is the same as any whitespace except newline, and all of the newline chars are represented by just '\n', to make easier to read. | ||
:1. ' | :1. 'Statement' is a text block that begins with a command name, and is followed by any other text, and ends with line-end or semi-colon. A new statement can begin adjacent to the previous statements ending delimiter. | ||
::<kua>statement[\n;]statement[\n;]...</kua> | ::<kua>statement[\n;]statement[\n;]...</kua> | ||
:2. Command names begin or end at white-space, text start or end, semi-colon, or line-end, and end at comment start. | :2. Command names begin or end at white-space, text start or end, semi-colon, or line-end, and end at comment start. | ||