Crate texlang

Source
Expand description

§Texlang: a TeX language interpreter.

This crate implements a general purpose TeX language interpreter called Texlang.

Most of the high level documentation is provided in the Texcraft website, including guided introductions to using Texlang to build TeX interpreters. The documentation here is mostly for reference.

Modules§

command
Texlang commands API
error
Error types and error display logic.
parse
Logic for parsing elements of the TeX grammar from token streams.
texmacro
Implementation of TeX user defined macros.
token
TeX tokens and category codes.
traits
Module that re-exports all of the crate’s traits.
variable
Texlang variables API
vm
The Texlang virtual machine (VM).

Macros§

implement_has_component
This macro is for implementing the HasComponent trait in the special (but common) case when the state is a struct and the component is a direct field of the struct.