【24h】

A Formal Way from Text to Code Templates

机译:从文本到代码模板的正式方式

获取原文
获取外文期刊封面目录资料

摘要

We present an approach to define template languages for generating syntactically correct code. In the first part of the paper, we define the syntax and semantics of a template language for text generation. We use Natural Semantics for expressing both the static and the dynamic semantics of the language. In the second part, we deal with template languages for code generation in a particular target language. We provide construction steps for the syntax and semantics of such languages. The approach is generic and can be applied to any target language.
机译:我们提出了一种定义模板语言来生成语法正确代码的方法。在论文的第一部分,我们定义了文本生成的模板语言的语法和语义。我们使用天然语义来表达语言的静态和动态语义。在第二部分中,我们处理特定目标语言中代码生成的模板语言。我们为这种语言的语法和语义提供施工步骤。该方法是通用的,可以应用于任何目标语言。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号