- Input is LaTeX-like (see example), some commands allowed.
- Identifiers ("tensors" and indices) can be sequences of letter from a to z (lower- or uppercase).
- Indices must be separated by spaces.
- Only operators supported are + - and =.
- Fractions are allowed, indices in the denominator are swapped, meaning $\partial f/\partial x^{i}$ is
a (0,1)-tensor.
- Multiplication is implicit.
- Sub-/supercript are written with _{indices} and ^{indices}.
- LaTeX commands can be used in the replacement rule (\alpha, etc.).
Indexor, built with Chevrotain. © G. Jankowiak