[latex3-commits] [latex3/latex3] main: List a few more types (fparray, intarray, regex, token) in expl3.dtx (e1ad2c107)
github at latex-project.org
github at latex-project.org
Sat Jan 13 23:10:40 CET 2024
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/e1ad2c10797d75eab56a46a93a1eac1caa717860
>---------------------------------------------------------------
commit e1ad2c10797d75eab56a46a93a1eac1caa717860
Author: Bruno Le Floch <blflatex at gmail.com>
Date: Sat Jan 13 23:10:40 2024 +0100
List a few more types (fparray, intarray, regex, token) in expl3.dtx
I'm not including here some things that are arguably types but are
not used as last parts of variables' names:
- Constant markers (quark, scan mark).
- Functions, mostly constant (cs, conditional, \prg_new_map_functions).
- Mostly-constant with nested names: msg, keys.
- Used in expressions: fp variables, fp functions, color, color_model.
- Other: pdf_object, flag.
The first three items here are most often constant so it makes sense to
not treat them as variables. The next item consists of things like
colors or fp variables which are used next to "red" or "pi" that
certainly should be n-type. It is not clear whether pdf_object and
flags should be turned to N-type variables.
>---------------------------------------------------------------
e1ad2c10797d75eab56a46a93a1eac1caa717860
l3kernel/expl3.dtx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index c62a81f8a..7aa251dd7 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -425,11 +425,14 @@
% type for carrying out |box| alignment operations;
% \item[dim] \enquote{rigid} lengths;
% \item[fp] floating-point values;
+% \item[fparray] fixed-size vector of floating-point values;
+% \item[int] integer-valued count register;
+% \item[intarray] fixed-size vector of integer values;
% \item[ior] an input stream (for reading from a file);
% \item[iow] an output stream (for writing to a file);
-% \item[int] integer-valued count register;
% \item[muskip] math mode \enquote{rubber} lengths;
% \item[prop] property list;
+% \item[regex] regular expression;
% \item[seq] sequence: a data-type used to implement lists (with
% access at both ends) and stacks;
% \item[skip] \enquote{rubber} lengths;
@@ -437,6 +440,7 @@
% characters have category \enquote{other} (catcode~$12$),
% other than spaces which are category \enquote{space}
% (catcode~$10$);
+% \item[token] equal to a single arbitrary token;
% \item[tl] \enquote{token list variables}: placeholders for token lists.
% \end{description}
% When the \meta{type} and \meta{module} are identical (as often happens in
More information about the latex3-commits
mailing list.