序言到 SQL 转换器 [英] prolog to SQL converter

查看:47
本文介绍了序言到 SQL 转换器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不用多想,在我看来,Prolog 的大量功能可以作为关系演算(又名 SQL)来实现.

Without thinking to much, it seems to me that a large set of Prolog's functionality could be implemented as relational calculus (a.k.a. SQL).

有没有人听说过有什么工具可以自动将 Prolog 转换为 SQL?

Has anyone heard of any tools to automatically convert Prolog to SQL?

推荐答案

推荐:

https://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/prolog/code/io/pl2sql/0.html

我的建议 - 使用 Eclipse prolog (http://www.eclipseclp.org/)(不要(此处)与 Eclipse IDE 中的 prolog 混淆).

my advice- use Eclipse prolog (http://www.eclipseclp.org/) (not (here) to be confused with prolog in the eclipse IDE).

我花了几个小时试图让代码在其他 4 个序言中编译(!)和 4 分钟在 eclipse 中编译.

I spent hours trying to get the code to compile in 4 other prologs(!) and 4 minutes to compile in eclipse.

当它起作用时,它是一件美丽的事情.

When it works, it's a thing of beauty.

当然要归功于 Draxler 先生

Credit to Herr Draxler of course

这篇关于序言到 SQL 转换器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆