A tokenizer, parser, and other utilities to work with Excel formula code, specifically syntax highlighting.
This utility is partially developed as tooling for GRID – The new face of spreadsheets, to which it owes a debt of gratitude.
The library is also provided as an ES6 module in an NPM package:
$ npm install @borgar/fx
Documentation can be found under docs/:
-
The API is documented in docs/API.md.
-
The AST format the parser emits is specified in docs/AST_format.md.
-
A primer/terminology definitions of Excel references and ranges can be found in docs/References.md.