...
首页> 外文期刊>ACM Transactions on Programming Languages and Systems >Natural and Flexible Error Recovery for Generated Modular Language Environments
【24h】

Natural and Flexible Error Recovery for Generated Modular Language Environments

机译:生成的模块化语言环境的自然而灵活的错误恢复

获取原文
获取原文并翻译 | 示例

摘要

Integrated Development Environments (IDEs) increase programmer productivity, providing rapid, interactive feedback based on the syntax and semantics of a language. Unlike conventional parsing algorithms, scannerless generalized-LR parsing supports the full set of context-free grammars, which is closed under composition, and hence can parse languages composed from separate grammar modules. To apply this algorithm in an interactive environment, this article introduces a novel error recovery mechanism. Our approach is language independent, and relies on automatic derivation of recovery rules from grammars. By taking layout information into consideration it can efficiently suggest natural recovery suggestions.
机译:集成开发环境(IDE)可以提高程序员的工作效率,并基于语言的语法和语义提供快速的交互式反馈。与传统的解析算法不同,无扫描器的广义LR解析支持完整的上下文无关语法集,该上下文上下文在合成时是封闭的,因此可以解析由单独的语法模块组成的语言。为了在交互式环境中应用该算法,本文介绍了一种新颖的错误恢复机制。我们的方法与语言无关,并且依赖于从语法自动提取恢复规则。通过考虑布局信息,可以有效地建议自然恢复建议。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号