An Embedded Type Debugger
An Embedded Type Debugger
复制标题
嵌入式调试器
DOI:
10.1007/978-3-642-41582-1_12
复制
发表时间:
2013
期刊:
影响因子:
--
通讯作者:
Kenichi Asai
中科院分区:
文献类型:
--
作者:
Kanae Tsushima;Kenichi Asai
This paper presents how to build a type debuggerwithoutimplementing any dedicated type inferencer. Previous type debuggers required their own type inferencers apart from the compiler’s type inferencer. The advantage of our approach is threefold. First, bynotimplementing a type inferencer, it is guaranteed that the debugger’s type inference never disagrees with the compiler’s type inference. Secondly, we can avoid the pointless reproduction of a type inferencer that should work precisely as the compiler’s type inferencer. Thirdly, our approach is robust to updates of the underlying language. The key observation of our approach is that the interactive type debugging, as proposed by Chitil, does not require a type inference tree but only a tree with a certain simple property. We identify the property and present how to construct a tree that satisfies this property using the compiler’s type inferencer. The property guides us how to build a type debugger for various language constructs. In this paper, we describe our idea and first apply it to the simply-typed lambda calculus. After that, we extend it with let-polymorphism and objects to see how our technique scales.
登录
查看更多内容
DOI:
--
发表时间:
2011
期刊:
Symposium on Trends in Functional Programming
影响因子:
--
作者:
Thomas Schilling
通讯作者:
Thomas Schilling
DOI:
--
发表时间:
2004
期刊:
International Symposium on Functional and Logic Programming (FLOPS) Springer LNCS 2998
影响因子:
--
作者:
Jacques Garrigue;Keiko Nakata;Akira Ito;Jacques GARRIGUE
通讯作者:
Jacques GARRIGUE
DOI:
--
发表时间:
2000
期刊:
--
影响因子:
--
作者:
A. Simon;O. Chitil;F. Huch
通讯作者:
F. Huch
DOI:
--
发表时间:
2002
期刊:
--
影响因子:
--
作者:
B. Heeren;Jurriaan Hage
通讯作者:
Jurriaan Hage
DOI:
10.1145/512644.512648
发表时间:
1986
期刊:
ACM Computing Surveys (CSUR)
影响因子:
--
作者:
M. Wand
通讯作者:
M. Wand