Prolog Tutorial 1
来源:互联网 发布:命运 知乎 编辑:程序博客网 时间:2024/05/29 08:51
Prolog is a logical language which can help us to check the relation among propositions.
First, we should write prolog in a file named xxxx.pl. Then after installing prolog, we can just type prolog in terminal to launch prolog.
To load the file that we wrote is quite simple. We can just write [“name.pl”]. in terminal. Then prolog will automatically load the file.
Then, let’s move to the next.
We can write
likes(me, programming).likes(me, C++).likes(me, Microsoft).
It means I like programming, I like C++, I like Microsoft. Attention, just like other programming languages, we should have a terminator at the end of a phase. In prolog, the terminator is a point ” . “. We have to add a point at the end of any instruction.
0 0
- Prolog Tutorial 1
- Prolog教程 1
- 1 vbscript Prolog
- prolog
- Prolog
- prolog
- Prolog
- 品尝 GNU Prolog (1)
- Prolog 与 WordNet (1)
- 品尝 GNU Prolog (1)
- 七周七语言:Prolog Day 1
- 品尝 GNU Prolog (1)
- Visual Prolog 的 Web 专家系统 (1)
- prolog-什么是prolog
- 《用Prolog建专家系统》学习笔记(1)
- wamcc:将Prolog编译成C (No.7-1)
- prolog 介绍
- 好好学习PROLOG
- Java中final关键字用法总结
- spark streaming 编程
- Boost mpi gatherv example
- Reading files-读取文件内容
- Writing file-写入文件
- Prolog Tutorial 1
- CSDN页面内JS跳转脚本
- 单点登录cas常见问题(十三) - 几个重要概念怎么理解?
- TRIZ的成功案例
- 3262: 陌上花开 树状数组套平衡树/CDQ分治
- 计算机视觉,机器学习方面的论文和算法代码
- 2016年2月22日--2月29日(18小时,剩3152小时)
- 2016年3月1日--3月25日(0小时,剩3152小时)
- 【积水成渊-逐步定制自己的Emacs神器】3:为Emacs安装扩展