跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:1109.0638 (cs)
[提交于 2011年9月6日]

标题:Translating Nondeterministic Functional Language based on Attribute Grammars into Java

作者:Masanobu Umeda, Ryoto Naruse, Hiroaki Sone, Keiichi Katamine
查看论文《Translating Nondeterministic Functional Language based on Attribute Grammars into Java》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Knowledge-based systems are suitable for realizing advanced functions that require domain-specific expert knowledge, while knowledge representation languages and their supporting environments are essential for realizing such systems. Although Prolog is useful and effective in realizing such a supporting environment, the language interoperability with other implementation languages, such as Java, is often an important issue in practical application development. This paper describes the techniques for translating a knowledge representation language that is a nondeterministic functional language based on attribute grammars into Java. The translation is based on binarization and the techniques proposed for Prolog to Java translation although the semantics are different from those of Prolog. A continuation unit is introduced to handle continuation efficiently, while the variable and register management on backtracking is simplified by using the single and unidirectional assignment features of variables. An experimental translator written in the language itself successfully generates Java code, while experimental results show that the generated code is over 25 times faster than that of Prolog Cafe for nondeterministic programs, and over 2 times faster for deterministic programs. The generated code is also over 2 times faster than B-Prolog for nondeterministic programs.
评论: 13 pages, 8 figures, 2 tables, 19th International Conference on Applications of Declarative Programming and Knowledge Management (INAP2011)
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:1109.0638 [cs.PL]
  (或者 arXiv:1109.0638v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1109.0638

提交历史

来自:Masanobu Umeda
[v1] 2011年9月6日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2011-09
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站