首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:New Error-recovery Techniques for Faulty-Calls of Functions
  • 作者:Mohamed A. El-Zawawy ; Nagwan Moustafa Daoud
  • 期刊名称:Computer and Information Science
  • 印刷版ISSN:1913-8989
  • 电子版ISSN:1913-8997
  • 出版年度:2012
  • 卷号:5
  • 期号:3
  • 页码:67
  • 语种:English
  • 出版社:Canadian Center of Science and Education
  • 摘要:In this paper, we introduce type systems to detect faulty calls of functions in a program. The intended meaning of the faulty call is calling a function with a miss-match to the number of its arguments. We use error-detecting semantics that when detects the faulty calls, doesn't proceed to the next state. Type systems are used in the process of analysis and in repairing. The paper presents two type systems: the safety type system which checks the safety of a given program and the repairing type system which corrects errors. The repairing process is made by replacing the faulty call of function with a correct one. In the repairing process simple interactive input/output statements are used. The interaction (input/output) helps to get the lost parameters by interacting with the user; informing him about the number of lost parameters. The user can then input these parameters.
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有