首页> 外文会议> >Parsing minimization when extracting information from code in the presence of conditional compilation
【24h】

Parsing minimization when extracting information from code in the presence of conditional compilation

机译:在有条件编译的情况下从代码中提取信息时的解析最小化

获取原文

摘要

Exploring and understanding a software system requires extracting meaningful information from it. This in turn involves syntactical analysis of source code, an activity that can be complicated by the use of conditional compilation. In this paper we discuss difficulties when parsing code with conditional compilation. We argue that the effective way to ensure the extraction of all meaningful information from a source file is to parse a set of versions of that file defined by conditional compilation. We then describe a heuristic-based approach to minimize the amount of parsing.
机译:探索和理解软件系统需要从中提取有意义的信息。反过来,这涉及对源代码的语法分析,该活动可能因使用条件编译而变得复杂。在本文中,我们讨论了使用条件编译来解析代码时遇到的困难。我们认为,确保从源文件中提取所有有意义的信息的有效方法是解析条件编译定义的该文件的一组版本。然后,我们描述一种基于启发式的方法,以最大程度地减少解析量。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号