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

Java Prolog接口

Java Prolog Interface

Jose E. Zalacain Llanes

摘要:

目前有许多关于Java和Prolog程序设计语言之间交互的倡议。这些举措允许结合两种编程范式,面向对象编程和逻辑编程。每个建议的接口都有特定的功能,这取决于最终的用途。本文介绍了一种新的JavaProlog接口,用于实现Java端的Prolog持久化交互和Prolog端的函数式编程。为了支持这种交互,最高级的解决方案实现了Java对象和Prolog术语之间的语言间数据类型映射。Java Prolog Interface是一个现代化的解决方案,它从现有的解决方案中获得了最好的功能,并将所有功能结合在一起。它更灵活,适应性更强,并且有一个易于使用的应用程序提供者接口(API)。JPI实现了javax.script接口,包括Java 1.6版。该项目像现有的解决方案一样,为最流行的开源Prolog引擎提供了一个实现。托管在Prolobjectlink存储库的GitHub源代码管理上,并将生成的工件部署在Maven Central存储库上。该项目也有一个网页托管在GitHub上。

英文摘要:

There are many initiatives in presents-days for interaction between Java and Prolog programming languages. These initiatives allow combine two programming paradigms, Object Oriented Programming and Logic Programming. Every proposed interface has specifics features depending of the final use. The present paper introduces a new Java Prolog Interface to be use for Prolog persistence interacting from Java side and functional programming from Prolog side. To support this interaction, the most advanced solutions implements interlanguages data type mappings between Java objects and Prolog terms. Java Prolog Interface is a modern solution that take the best features from existing solutions and combine all in one. It' s more flexible, adaptive and have an Application Provider Interface (API) easy to use. JPI implement the javax.script interface include in Java from version 1.6. The project like existing solutions have an implementation for the most popular open source Prolog Engines. Is hosted on GitHub source code management at Prolobjectlink repository and deploy the resulting artifacts on Maven Central repository. The project have a web page too hosted on GitHub.

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

↑