跳到主要导航 跳到搜索 跳到主要内容

Macro-like instrumentation grammar for Boolean expressions

  • Zhenyu Zhang*
  • , Zhongxing Xu
  • , Zhifang Liu
  • , Xiaopeng Gao
  • *此作品的通讯作者
  • Chinese Academy of Sciences
  • Beihang University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Boolean expression is a basic programming element used to evaluate the truth-values of conditions or their combinations. While Boolean expressions may have complicated logical structures, instrumenting them often needs heavyweight transformation to source code or work with low-level program implementation, which results in cumbersome code and great difficulties to maintenance. As a result, previous instrumentation is often conducted using automatic mechanism, left as the last integration step, and needs to be redone once the source code has changes. It is inflexible and not interactivable for collaborative work. In this paper, we compare several existing popular instrumentation methods and propose a friendly approach, which adds least prefix and postfix to Boolean expressions, simply wraps all conditions, and preserves all Boolean operators if any. Our method works at source-code level yet has a macro-like grammar. It is human maintainable so that programmers may manually and cooperatively modify code by instrumenting interested Boolean expressions like operating macros. We elaborate on the grammar of our method and give empirical evaluation to its performance. Our method has been used in some realistic industrial and research projects successfully.

源语言英语
主期刊名2010 International Conference on Computational Intelligence and Software Engineering, CiSE 2010
DOI
出版状态已出版 - 2010
活动2010 International Conference on Computational Intelligence and Software Engineering, CiSE 2010 - Wuhan, 中国
期限: 10 12月 201012 12月 2010

出版系列

姓名2010 International Conference on Computational Intelligence and Software Engineering, CiSE 2010

会议

会议2010 International Conference on Computational Intelligence and Software Engineering, CiSE 2010
国家/地区中国
Wuhan
时期10/12/1012/12/10

指纹

探究 'Macro-like instrumentation grammar for Boolean expressions' 的科研主题。它们共同构成独一无二的指纹。

引用此