首页> 外文会议>ECOOP 2010 - Object-oriented technology programming >Embedding Languages without Breaking Tools
【24h】

Embedding Languages without Breaking Tools

机译:无需中断工具即可嵌入语言

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

摘要

Domain-specific languages (DSLs) Eire increasingly used as embedded languages within general-purpose host languages. DSLs provide a compact, dedicated syntax for specifying parts of an application related to specialized domains. Unfortunately, such language extensions typically do not integrate well with the development tools of the host language. Editors, compilers and debuggers are either unaware of the extensions, or must be adapted at a non-trivial cost. We present a novel approach to embed DSLs into an existing host language by leveraging the underlying representation of the host language used by these tools. Helvetia is an extensible system that intercepts the compilation pipeline of the Smalltalk host language to seamlessly integrate language extensions. We validate our approach by case studies that demonstrate three fundamentally different ways to extend or adapt the host language syntax and semantics.
机译:领域专用语言(DSL)Eire越来越多地用作通用宿主语言中的嵌入式语言。 DSL提供了一种紧凑的专用语法,用于指定与特定域相关的应用程序的各个部分。不幸的是,这样的语言扩展通常不能与宿主语言的开发工具很好地集成。编辑器,编译器和调试器要么不知道扩展,要么必须付出不小的代价。通过利用这些工具所使用的宿主语言的基本表示,我们提出了一种将DSL嵌入现有宿主语言的新颖方法。 Helvetia是可扩展的系统,可拦截Smalltalk宿主语言的编译管道以无缝集成语言扩展。我们通过案例研究验证了我们的方法,该案例演示了三种根本上不同的方式来扩展或调整宿主语言的语法和语义。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号