arXiv · 2410.18158
Cost Analysis for Import and Export Using an Abstract Machine
Abstract
This paper presents the syntax and reduction rules for an abstract machine based on the JavaScript XML language. We incorporate the notion of cost into our reduction rules, and create a type system that over-approximate this cost. This over-approximation results in an equation that may contain unknowns originating from while loops. We conclude with a formal proof of soundness of the type system for our abstract machine, demonstrating that it over-approximates the cost of any terminating program. An implementation of the type system, constraint gathering, and the abstract machine is also presented
Explore related subjects
Keep this discovery
Benjamin Bennetzen, Daniel Vang Kleist, Emilie Sonne Steinmann, Loke Walsted, Nikolaj Rossander Kristensen, Peter Buus Steffensen. 2024-10-23. Cost Analysis for Import and Export Using an Abstract Machine. https://arxiv.org/abs/2410.18158
Cite the original work for its findings. Save a collection to share your selection of sources.