...
首页> 外文期刊>Journal of Visual Languages & Computing >Building syntax-aware editors for visual languages
【24h】

Building syntax-aware editors for visual languages

机译:构建可视化语言的语法感知编辑器

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

获取外文期刊封面封底 >>

       

摘要

Syntax-aware editors are a class of editors prompting users into writing syntactically correct programs by exploiting visual language syntax. They are particularly useful in those application domains where the way a visual symbol spatially relates to others depends from the context. This does not mean constraining users to enter only correct syntactic states in a visual sentence, rather it means detecting both syntax and potential semantic errors as early as possible, and providing error feedbacks in a non-intrusive way during editing. As a consequence, error handling strategies are an essential part of this editing style. In this work, we present a strategy for the automatic generation of syntax-aware visual language editors integrating incremental subsentence parsers into freehand editors. The proposed parsing strategy has turned out to be useful in many application domains involving spatial information systems, thanks to the possibility of interactively prompting feasible visual sentence extensions, and to the presence of a non-correcting error recovery strategy. A first experimental prototype implementing the whole approach has been embedded into the VLDesk system, and empirical studies have been performed in order to verify the performance and the effectiveness of the proposed approach.
机译:支持语法的编辑器是一类编辑器,可通过利用可视语言语法来提示用户编写语法正确的程序。它们在视觉符号在空间上与其他人相关的方式取决于上下文的那些应用领域中特别有用。这并不意味着要限制用户仅在视觉句子中输入正确的句法状态,而是要尽早检测语法和潜在的语义错误,并在编辑过程中以非介入方式提供错误反馈。因此,错误处理策略是此编辑样式的重要组成部分。在这项工作中,我们提出了一种自动生成语法意识的可视化语言编辑器的策略,该编辑器将增量式句子解析器集成到徒手的编辑器中。由于交互式提示可行的可视句子扩展的可能性以及存在非校正错误恢复策略的可能性,所提出的解析策略已在涉及空间信息系统的许多应用领域中变得有用。实现整个方法的第一个实验原型已嵌入VLDesk系统中,并进行了实证研究以验证所提出方法的性能和有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号