|
|
@@ -16,7 +16,8 @@ as a reference implementation), we use
|
|
|
|
|
|
## 1.2 Why it's needed?
|
|
|
Vinora Screenplay is designed for use in the Vinora Engine. The goals of this
|
|
|
-visual novels engine is to be as simple and compatible as possible.
|
|
|
+visual novels engine is to be as simple and compatible as possible.
|
|
|
+
|
|
|
Markdown is a popular format. There is a good change that you're already
|
|
|
familiar with \**italic*\* or \_\___bold__\_\_ syntax. So, by making
|
|
|
Vinora Screenplay as Markdown-like language we fulfill both of our goals
|
|
|
@@ -32,7 +33,8 @@ of existing Markdown interpreters).
|
|
|
|
|
|
## 2.1 Technical definitions
|
|
|
|
|
|
-**Character** is the smallest unit of text that carries a semantic or
|
|
|
+**Character**
|
|
|
+is the smallest unit of text that carries a semantic or
|
|
|
visual meaning in a writing system. It can be a letter, digit,
|
|
|
punctuation mark, space, special character (e.g., "@" or newline),
|
|
|
or another element used to represent information in text form.
|
|
|
@@ -40,26 +42,29 @@ or another element used to represent information in text form.
|
|
|
So-called Unicode "combined characters" are considered (and rendered) as
|
|
|
multiple separate characters*.
|
|
|
|
|
|
-**Newline characters** are special characters that end a line.
|
|
|
+**Newline characters**
|
|
|
+are special characters that end a line.
|
|
|
Depending of the system, default newline character would be CR (carriage
|
|
|
return, `\r`), LF (line feed, `\n`) or even both (CR + LF).
|
|
|
*NOTE: All of them are considered valid end of line, but they are replaced
|
|
|
with LF (`\n`) character.*
|
|
|
|
|
|
-**Whitespace characters** are characters which are rendered into whitespace.
|
|
|
+**Whitespace characters**
|
|
|
+are characters which are rendered into whitespace.
|
|
|
They are invisible, but they are affect formatting. For example, space
|
|
|
character separate different words.
|
|
|
*All newline characters are whitespace characters*.
|
|
|
Full list of whitespace characters: *tab (horizontal and vertical), space,
|
|
|
carriage return, line feed, form feed.*
|
|
|
|
|
|
-**Line** is a sequence of zero or more characters, that ends with newline
|
|
|
-or End Of File (EOF) condition. Line which has zero characters or only whitespace
|
|
|
-characters called **empty line**.
|
|
|
+**Line**
|
|
|
+is a sequence of zero or more characters, that ends with newline
|
|
|
+or End Of File (EOF) condition. Line which has zero characters or only
|
|
|
+whitespace characters called **empty line**.
|
|
|
|
|
|
-**ASCII character** is a character supported by
|
|
|
-[US-ASCII](https://en.wikipedia.org/wiki/ASCII) encoding. Since any existing
|
|
|
-encoding is an extension of ASCII, characters from ASCII is
|
|
|
-supported by every alive computer.
|
|
|
+**ASCII character**
|
|
|
+is a character supported by [US-ASCII](https://en.wikipedia.org/wiki/ASCII)
|
|
|
+encoding. Since any existing encoding is an extension of ASCII,
|
|
|
+characters from ASCII is supported by nearly every computer.
|
|
|
|
|
|
## 2.2 Visual novels definitions
|