lex_xl takes an Excel formula and separates it into tokens. It returns a dataframe, one row per token, giving the token itself, its type (e.g. number, or error), and its level.

Details

The parse tree is designed for analysis rather than computation, and may not support computation.

A simple plot() function is provided that depends on the suggested package ggraph (which pulls in many other dependencies that can be tricky to install).

Functions