Higher-Order Spreadsheets with Spilled Arrays

被引:4
|
作者
Williams, Jack [1 ]
Joharizadeh, Nima [2 ]
Gordon, Andrew D. [1 ,3 ]
Sarkar, Advait [1 ,4 ]
机构
[1] Microsoft Res, Cambridge, England
[2] Univ Calif Davis, Davis, CA 95616 USA
[3] Univ Edinburgh, Edinburgh, Midlothian, Scotland
[4] Univ Cambridge, Cambridge, England
来源
PROGRAMMING LANGUAGES AND SYSTEMS ( ESOP 2020): 29TH EUROPEAN SYMPOSIUM ON PROGRAMMING | 2020年 / 12075卷
关键词
D O I
10.1007/978-3-030-44914-8_27
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We develop a theory for two recently-proposed spreadsheet mechanisms: gridlets allow for abstraction and reuse in spreadsheets, and build on spilled arrays, where an array value spills out of one cell into nearby cells. We present the first formal calculus of spreadsheets with spilled arrays. Since spilled arrays may collide, the semantics of spilling is an iterative process to determine which arrays spill successfully and which do not. Our first theorem is that this process converges deterministically. To model gridlets, we propose the grid calculus, a higher-order extension of our calculus of spilled arrays with primitives to treat spreadsheets as values. We define a semantics of gridlets as formulas in the grid calculus. Our second theorem shows the correctness of a remarkably direct encoding of the Abadi and Cardelli object calculus into the grid calculus. This result is the first rigorous analogy between spreadsheets and objects; it substantiates the intuition that gridlets are an object-oriented counterpart to functional programming extensions to spreadsheets, such as sheet-defined functions.
引用
收藏
页码:743 / 769
页数:27
相关论文
共 50 条
  • [1] VERIFICATION OF PROGRAMS WITH HIGHER-ORDER ARRAYS
    KOWALCZYK, W
    URZYCZYN, P
    LECTURE NOTES IN COMPUTER SCIENCE, 1987, 278 : 251 - 258
  • [2] Enhanced model order estimation using higher-order arrays
    da Costa, Joao Paulo C. L.
    Haardt, Martin
    Roemer, Florian
    Del Galdo, Giovanni
    CONFERENCE RECORD OF THE FORTY-FIRST ASILOMAR CONFERENCE ON SIGNALS, SYSTEMS & COMPUTERS, VOLS 1-5, 2007, : 412 - 416
  • [3] Higher-order Dirac solitons in binary waveguide arrays
    Tran, Truong X.
    Duong, Dung C.
    ANNALS OF PHYSICS, 2015, 361 : 501 - 508
  • [4] Observation of higher-order solitons in defocusing waveguide arrays
    Smirnov, Eugene
    Rueter, Christian E.
    Kip, Detlef
    Kartashov, Yaroslav V.
    Torner, Lluis
    OPTICS LETTERS, 2007, 32 (13) : 1950 - 1952
  • [5] RECENT PROGRESS ON HIGHER-ORDER MOMENT NEURAL ARRAYS
    PORTER, WA
    CIRCUITS SYSTEMS AND SIGNAL PROCESSING, 1993, 12 (02) : 309 - 329
  • [6] Higher-Order Intentionality and Higher-Order Acquaintance
    Benj Hellie
    Philosophical Studies, 2007, 134 : 289 - 324
  • [7] Higher-order intentionality and higher-order acquaintance
    Hellie, Benj
    PHILOSOPHICAL STUDIES, 2007, 134 (03) : 289 - 324
  • [8] Higher-order solitons in amplitude-disordered waveguide arrays
    刘海东
    金洪震
    董亮伟
    Chinese Physics B, 2014, (10) : 190 - 195
  • [9] Higher-order solitons in amplitude-disordered waveguide arrays
    Liu Hai-Dong
    Jin Hong-Zhen
    Dong Liang-Wei
    CHINESE PHYSICS B, 2014, 23 (10)
  • [10] ON INTERNAL HIGHER-ORDER MODE-COUPLING IN SLOT ARRAYS
    RENGARAJAN, SR
    NARDI, DD
    IEEE TRANSACTIONS ON ANTENNAS AND PROPAGATION, 1991, 39 (05) : 694 - 698