How patroii/hotxlfp works
hotxlfp is a Python Excel-formula parser and evaluator. A caller creates a Parser, submits a formula string, and receives a result/error pair. The parser tokenizes and parses expressions, delegates formula calls and variable/cell lookups to the Parser API, and evaluates operators or registered built-in functions. The graph preserves the documented formula families and custom-function/variable support. Connections among unsampled modules are limited to relationships named in the SOURCE INDEX; it does not show a backing spreadsheet or persistence layer.
Main entry points: __init__.py Function registry · utils.py Formula utilities · hotxlfp/parser.py Parser API · grammarparser/parser.py Formula grammar
Components 22
Parser API
- Parser API
hotxlfp/parser.py - Event emitter
hotxlfp/tinyemitter.py
Formula syntax
- Formula lexer
hotxlfp/grammarparser/lexer.py - Formula grammar
hotxlfp/grammarparser/parser.py
Evaluation runtime
- Function registry
hotxlfp/formulas/__init__.py - Formula utilities
hotxlfp/formulas/utils.py - Formula errors
hotxlfp/formulas/error.py - Operators
hotxlfp/formulas/operators.py - Date and time
hotxlfp/formulas/dateandtime.py - Engineering
hotxlfp/formulas/engineering.py - Financial
hotxlfp/formulas/financial.py - Information
hotxlfp/formulas/information.py - Logic
hotxlfp/formulas/logic.py - Lookup and reference
hotxlfp/formulas/lookupandreference.py - Math and trigonometry
hotxlfp/formulas/mathtrig.py - Statistical
hotxlfp/formulas/statistical.py - Text
hotxlfp/formulas/text.py
Runtime support
- Cell coordinates
hotxlfp/helper/cell.py - Number conversion
hotxlfp/helper/number.py - Compatibility layer
hotxlfp/_compat/__init__.py - Statistics fallback
hotxlfp/_compat/py3/statistics.py
Other components
- Formula caller
Connections 30
- Formula caller → Parser API: submits formula
README.md - Parser API → Formula grammar: parses with
hotxlfp/parser.py - Parser API → Function registry: resolves built-ins
hotxlfp/parser.py - Parser API → Event emitter: emits events
hotxlfp/parser.py - Parser API → Cell coordinates: builds cell lookups
hotxlfp/parser.py - Formula grammar → Formula lexer: tokenizes with
hotxlfp/grammarparser/parser.py - Formula grammar → Operators: evaluates operators
hotxlfp/grammarparser/parser.py - Formula grammar → Number conversion: converts numbers
hotxlfp/grammarparser/parser.py - Function registry → Date and time: registers functions
hotxlfp/formulas/__init__.py - Function registry → Engineering: registers functions
hotxlfp/formulas/__init__.py - Function registry → Financial: registers functions
hotxlfp/formulas/__init__.py - Function registry → Information: registers functions
hotxlfp/formulas/__init__.py - Function registry → Logic: registers functions
hotxlfp/formulas/__init__.py - Function registry → Lookup and reference: registers functions
hotxlfp/formulas/__init__.py - Function registry → Math and trigonometry: registers functions
hotxlfp/formulas/__init__.py - Function registry → Statistical: registers functions
hotxlfp/formulas/__init__.py - Function registry → Text: registers functions
hotxlfp/formulas/__init__.py - Date and time → Formula utilities: uses utilities
hotxlfp/formulas/dateandtime.py - Engineering → Formula utilities: uses utilities
hotxlfp/formulas/engineering.py - Financial → Formula utilities: uses utilities
hotxlfp/formulas/financial.py - Information → Formula utilities: uses utilities
hotxlfp/formulas/information.py - Logic → Formula utilities: uses utilities
hotxlfp/formulas/logic.py - Lookup and reference → Formula utilities: uses utilities
hotxlfp/formulas/lookupandreference.py - Math and trigonometry → Formula utilities: uses utilities
hotxlfp/formulas/mathtrig.py - Statistical → Formula utilities: uses utilities
hotxlfp/formulas/statistical.py - Text → Formula utilities: uses utilities
hotxlfp/formulas/text.py - Operators → Formula utilities: uses date utilities
hotxlfp/formulas/operators.py - Formula utilities → Number conversion: converts values
hotxlfp/formulas/utils.py - Operators → Number conversion: converts operands
hotxlfp/formulas/operators.py - Statistics fallback → Compatibility layer: selected for Python 2
hotxlfp/_compat/__init__.py