arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.08207cs.PL
收藏

MetaOCaml理论与实现

MetaOCaml Theory and Implementation

Oleg Kiselyov

AI总结:

本文首次提出了一种将准引用代码生成与类型检查集成的最小侵入式高效翻译方法,改进了BER MetaOCaml的实现。

摘要:

准引用(或代码模板)长期以来一直被用作代码生成的便捷工具,通常作为预处理/翻译实现为代码生成组合子。最初的MetaOCaml也基于这种翻译,在类型检查之后进行。BER MetaOCaml采用了一种显著不同的、高效的(尤其是在N114版本中)翻译,以最小侵入的方式与类型检查集成。本文首次提出了这种集成的高效翻译。

英文摘要:

Quasi-quotation (or, code templates) has long been used as a convenient tool for code generation, commonly implemented as a pre-processing/translation into code-generation combinators. The original MetaOCaml was also based on such translation, done post type checking. BER MetaOCaml employs a significantly different, efficient (especially in version N114) translation integrated with type-checking, in the least intrusive way. This paper presents the integrated efficient translation for the first time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑