Skip to main content

Module definition

Module definition 

Source
Expand description

All possible definitions for TeX-native commands (expandable, primitive, constructor,…)

Modules§

argument
conditional
Conditionals Control sequence definitions. These represent the control sequences for conditionals, as well as \else, \or and \fi.
constructor
expandable
math_primitive
origin
Definition provenance — K1 of the generalized kernel-capability program (docs/perfect_kernel/KERNEL_CAPABILITIES.md).
primitive
register

Structs§

DeclaredMode
The mode transitions a binding’s options compile to for a primitive or constructor (its mode, enter_horizontal, leave_horizontal, bounded, require_math and forbid_math options), kept beside the digestion closures so that an audit can compare them with the prologue of the real macro the binding replaces (KERNEL_CAPABILITIES K13). The definers build those closures from this record, so the two cannot drift apart.

Enums§

ExpansionBody
FontDirective
PrimitiveBody
Reversion

Constants§

CLOSURE_BODY_TEXT
What a body coded in the host language prints where Perl prints CODE(0x…): no address, so the same on every run (QA89), and still CODE(.

Traits§

Definition

Functions§

closure_body_meaning
\meaning‘s text for a closure body of cs: its name, letters only, keeps two natives’ meanings apart as Perl’s addresses did (\value vs \arabic); any other name prints CLOSURE_BODY_TEXT.

Type Aliases§

BeforeDigestClosure
ConditionalClosure
ConstructionClosure
DigestedReversionClosure
DigestionClosure
ExpansionClosure
FontClosure
PrimitiveClosure
PrimitiveFn
PropertiesClosure
ReplacementClosure
SizingClosure