Crate texlang_stdlib

Crate texlang_stdlib 

Source
Expand description

§The Texlang standard library

This module contains implementations of TeX primitives for Texlang.

Modules§

alias
\let aliasing command
alloc
Dynamic allocation of variables and arrays
chardef
The \chardef primitive.
codes
Primitives for setting codes (\catcode, \mathcode, etc.)
conditional
Control flow primitives (if, else, switch)
def
User-defined macros (\def and friends)
endlinechar
The \endlinechar primitive
errormode
Commands that control what to do when errors occur
expansion
Commands that alter the expansion process
input
Primitives for inputting source code from files and the terminal
job
math
Operations on variables (add, multiply, divide)
mathchardef
The \mathchardef primitive.
prefix
The \global, \long and \outer prefix commands
registers
Register variables (\count, \countdef)
repl
Support for running TeX REPLs
script
Support for running TeX scripts.
sleep
Primitive that pauses execution for a duration of time
texcraft
The Texcraft primitive, which returns the word Texcraft as eight separate letter tokens
the
The \the primitive
time
Time commands (\year, \month, etc.)
tracingmacros
TeX macro debugging

Structs§

ErrorCase
A TeX snippet that exercises some error case in the standard library.
StdLibState
A state struct that is compatible with every primitive in the Texlang standard library.

Functions§

built_in_commands