Rand Stats

LaTeX::Grammar

zef:antononcube

LaTeX::Grammar

Raku package with a parser and interpreters of LaTeX code


Installation

From Zef ecosystem:

zef install LaTeX::Grammar

Usage examples

use LaTeX::Grammar;

latex-interpret('\frac{1}{x}=\sqrt{y}')
# ["Equal",["Divide",1,"x"],["Root","y",2]]