aboutsummaryrefslogtreecommitdiff
path: root/doc/testscript.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-03-09 12:02:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-03-09 12:02:24 +0200
commit386c0bcda597914671dfeb4e1391f41e71465e91 (patch)
treed76b6668721c5aaae0d9a49916e5355af499bbc3 /doc/testscript.cli
parent3f8ef886b1e2b17d8ba12a74355ab7e09aec5ed6 (diff)
Document UTF-8 encoding for buildfiles and testscripts
Diffstat (limited to 'doc/testscript.cli')
-rw-r--r--doc/testscript.cli4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/testscript.cli b/doc/testscript.cli
index 5d50472..d39893a 100644
--- a/doc/testscript.cli
+++ b/doc/testscript.cli
@@ -1082,6 +1082,10 @@ failures (due to unexpected output) to go undetected.
\h1#lexical|Lexical Structure|
+At the lexical level, testscripts are UTF-8 encoded text restricted to the
+Unicode graphic characters, tabs (\c{\\t}), carriage returns (\c{\\r}), and
+line feeds (\c{\\n}).
+
Testscript is a line-oriented language with a context-dependent lexical
structure. It \"borrows\" several building blocks (variable expansion,
function calls, and evaluation contexts; collectively called \i{expansions}