Higher-Order Spreadsheets with Spilled Arrays

被引:5
作者
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 条
[21]   Higher-order folding of heterochromatin: Protein bridges span the nucleosome arrays [J].
Grigoryev, S.A. .
2001, National Research Council of Canada (79)
[22]   A new approach for computing higher-order moments on linear systolic arrays [J].
Aloqeely, MA ;
Al-Turaigi, MA ;
Alshebeili, SA .
CANADIAN JOURNAL OF ELECTRICAL AND COMPUTER ENGINEERING-REVUE CANADIENNE DE GENIE ELECTRIQUE ET INFORMATIQUE, 1998, 23 (03) :127-131
[23]   Higher-Order MoM Analysis of the Rectangular Waveguide Edge Slot Arrays [J].
Lai, Ben ;
Zhao, Xun-Wang ;
Su, Zi-Jian ;
Liang, Chang-Hong .
IEEE TRANSACTIONS ON ANTENNAS AND PROPAGATION, 2011, 59 (11) :4338-4341
[24]   Higher-order finite element analysis of finite-by-infinite arrays [J].
Lou, Z ;
Jin, JM .
IEEE ANTENNAS AND PROPAGATION SOCIETY SYMPOSIUM, VOLS 1-4 2004, DIGEST, 2004, :3505-3508
[25]   Nonlinear dynamics with higher-order modes in lithium niobate waveguide arrays [J].
Setzpfandt, F. ;
Neshev, D. N. ;
Sukhorukov, A. A. ;
Schiek, R. ;
Ricken, R. ;
Min, Y. ;
Kivshar, Y. S. ;
Sohler, W. ;
Lederer, F. ;
Tuennermann, A. ;
Pertsch, T. .
APPLIED PHYSICS B-LASERS AND OPTICS, 2011, 104 (03) :487-493
[26]   New approach for computing higher-order moments on linear systolic arrays [J].
Aloqeely, M.A. ;
Al-turaigi, M.A. ;
Alshebeili, S.A. .
Canadian Journal of Electrical and Computer Engineering, 1998, 23 (03) :127-131
[27]   HIGHER-ORDER CONSERVATION-LAWS AND A HIGHER-ORDER NOETHERS THEOREM [J].
CHEUNG, WS .
ADVANCES IN APPLIED MATHEMATICS, 1987, 8 (04) :446-485
[29]   Higher-order Lagrangian equations of higher-order motive mechanical system [J].
Zhao Hong-Xia ;
Ma Shan-Jun ;
Shi Yong .
COMMUNICATIONS IN THEORETICAL PHYSICS, 2008, 49 (02) :479-481