首页> 外文期刊>Journal of Functional Programming >FUNCTIONAL PEARL Typed quote/antiquote or:Compile-time parsing
【24h】

FUNCTIONAL PEARL Typed quote/antiquote or:Compile-time parsing

机译:功能珍珠键入引号/反引号或:编译时解析

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

摘要

Haskell (Peyton Jones, 2003) is often used as a host language for embedding other languages. Typically, the abstract syntax of the guest language is defined by a collection of datatype declarations; parsers and pretty-printers convert between the concrete syntax and its abstract representation. A quote/antiquote mechanism permits a tighter integration of the guest language into the host language by allowing one to use phrases in the guest language's concrete syntax.
机译:Haskell(Peyton Jones,2003)通常用作嵌入其他语言的宿主语言。通常,来宾语言的抽象语法由数据类型声明的集合定义。解析器和漂亮打印机在具体语法及其抽象表示之间进行转换。引号/反引号机制允许通过使用来宾语言的具体语法中的短语来将来宾语言更紧密地集成到宿主语言中。

著录项

  • 来源
    《Journal of Functional Programming》 |2011年第3期|p.219-234|共16页
  • 作者

    RALF HINZE;

  • 作者单位

    Department of Computer Science, University of Oxford, Wolfson Building, Parks Road,Oxford 0X1 3QD, England, UK;

  • 收录信息 美国《科学引文索引》(SCI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

  • 入库时间 2022-08-18 02:48:50

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号