Abstract
We give a simple operational cost semantics for evaluation of spreadsheet formulas and for full and minimal recalculation. We also present a semantics which caters for computing with unknown data values. This may be used to give an approximation of the cost when input data is not yet provided. This semantics is a rudimentary big-step trace-based abstract interpretation based upon the cost semantics. Together, the semantic presentations form the formal foundations for various cost calculations implemented in the Funcalc spreadsheet platform. This can be used in cost estimation tools, e.g. to estimate which formulas in a spreadsheet are the most expensive, or to schedule parallel recalculation of a spreadsheet. In future work, further analyzes and verification tools can be built upon the formal semantics to reduce the large number of errors that commonly occur in spreadsheets.
Originalsprog | Engelsk |
---|---|
Artikelnummer | 101103 |
Tidsskrift | Journal of Computer Languages |
Vol/bind | 69 |
Antal sider | 48 |
ISSN | 1477-8424 |
DOI | |
Status | Udgivet - apr. 2022 |
Bibliografisk note
Funding Information:Supported by the Independent Research Fund Denmark (grant number DFF-FTP-4005-00141), Popular Parallel Programming (P3) 2015?2019.Supported by IT-vest (grant number AAU-2018-59).Supported by Innovation Fund Denmark (grant number 7076-00029B), Projection of Balances and Benefits in Life Insurance (ProBaBLI) 2018?2022.
Publisher Copyright:
© 2022 The Author(s)