luametatex-codes.tex /size: 963 b    last modification: 2021-10-28 13:50
1% language=us runpath=texruns:manuals/luametatex
2
3\environment luametatex-style
4
5\startcomponent luametatex-codes
6
7\startchapter[title=Primitive codes]
8
9here follows a list with all primitives and their category is shown. When the
10engine starts up in ini mode all primitives get defined along with some
11properties that makes it possible to do a reverse lookup of a combination of
12command code and char code. But, a primitive, being also a regular command can be
13redefined later on. The table below shows the original pairs but in \CONTEXT\
14some of these primitives are redefined. However, any macro that fits a command
15and char pair is (reported as) a primitive in logs and error messages. In the end
16all tokens are such a combination, The first 16 command codes are reserved for
17characters (the whole \UNICODE\ range can be used as char code) with specific
18catcodes and not mentioned in the list.
19
20\ctxlua{document.allprimitives()}
21
22\stopchapter
23
24\stopcomponent
25