- 1、本文档共17页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
13th Int. Workshop on Functional and (Constraint) Logic Programming (WFLP04), Aachen, Germany — June 1, 2004.
Technical Report, Department of Computer Science of RWTH Aachen, AIB-2004-05, June 2004, pp. 4-18.
TeaBag: A Functional Logic Language Debugger
Sergio Antoy Stephen Johnson
Computer Science Department, Portland State University,
P.O. Box 751, Portland, OR 97207, U.S.A.
,
Abstract. We describe a debugger for functional logic computations. The debugger is an accessory of a virtual machine
currently under development. A distinctive feature of this machine is its operational completeness of computations, which
places novel demands on a debugger. We give an overview of the debugger’s features, in particular the handling of non-
determinism, the ability to control non-deterministic steps, to remove context information, to toggle eager evaluation, and
to set breakpoints on both functions and terms. We briefly describe the debugger’s architecture and its interaction with
the associated virtual machine. Finally, we describe a short debugging session of a defective program to show in action
debugger features and window screenshots.
1 Introduction
Functional logic programming joins in a single programming paradigm characterizing features of
functional and logic programming. There are a number of languages with this aim, e.g., Curry [23],
Escher [26], Le Fun [2], Life [1], Mercury [36], NUE-Prolog [29], Oz [35] and Toy [27], to name a
few. These languages support user-defined functions and the subsequent evaluation of expressions
involving these functions. Debugging functional computations of this kind is a non-trivial, but well-
studied problem [5,14,15,18,31,32,37,38,40,42]. These languages also support the use of logic
variables. Debugging programs with the combination of user-defined functions and logic variables
is much more challenging for reasons that will be discussed shortly.
Indeed, programmi
您可能关注的文档
- Meguiar′s 汽车美容产品销售计划.pdf
- MGUS和SMM研究进展.pdf
- MLA Style In Text Citation and Works Cited Page在文本引用MLA体例和网页引用.pdf
- Motivation in action Nottingham ePrints动机的行动 诺丁汉访问.pdf
- MRS组合预测模型在房价预测中的应用研究.pdf
- MTS磁致伸缩液位计样本.pdf
- NetMay RouterOS中文教程系列 RouterOs安装及配置 PPOESERVER.pdf
- Nokia Local电池用途及制作方法.pdf
- NYMEX Energy Complex Online Trading Futures Brokers NYMEX能源复杂的在线交易的期货经纪人.pdf
- nuendo cubase 使用教程 教材.pdf
文档评论(0)