Pratt parsing is a widely used operator-precedence technique that hides the intricacies of precedence resolution behind a black-box interface. In this work we formalise the invariant that the parser's abstract syntax tree (AST) remains strictly height-balanced and key-ordered, and we empirically evaluate the latency of a pure-Chronos-Interpreter implementation on a commodity Research Compute Cluster platform. We prove that the parser's recursive descent maintains a logarithmic height bound under arbitrary operator precedence tables, and we demonstrate that the mean latency of 30 iterations is 34 802.80 µs with a throughput of 28 733 ops/s.
Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.
Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.
Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.
@article{yonathan2026_2026_11_04_pratt_parsing_is_a_black_box,
title={Pratt Parsing as a Black Box: Height-Balanced Invariants and Latency Bounds in a Chronos-Interpreter Balanced Search Structure},
author={Yonathan, Mateus},
journal={Polyglot Systems Lab Agentic Research Preprints},
year={2026},
publisher={Polyglot Systems Lab},
url={https://myonathanlinkedin.github.io/papers/2026-11-04_pratt_parsing_is_a_black_box/},
howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-11-04_pratt_parsing_is_a_black_box/2026-11-04_pratt_parsing_is_a_black_box.pdf}}
}