Instalar el intérprete SWI-Prolog para ejecutar código Prolog en Ubuntu

12 10 2009
SWI-Prolog logo

Si vas a programar declarativamente con Prolog, en Ubuntu es posible hacerlo instalando el paquete de SWI-Prolog. Para ello busca en Synaptic el paquete swi-prolog o bien instalalo mediante terminal:

?Descargar instalar.txt
1
sudo apt-get install swi-prolog

Para ejecutar el intte en el terminal:

?Descargar ejecutar.txt
1
$ swipl

Para salir escribe halt (seguido de un punto):

1
2
3
4
5
6
7
8
9
10
11
$ swipl
Welcome to SWI-Prolog (Multi-threaded, 32 bits, Version 5.6.64)
Copyright (c) 1990-2008 University of Amsterdam.
 
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
Please visit http://www.swi-prolog.org for details.
 
For help, use ?- help(Topic). or ?- apropos(Word).
 
?- halt.
VN:F [1.9.17_1161]
Rating: 7.8/10 (6 votes cast)
VN:F [1.9.17_1161]
Rating: +1 (from 1 vote)
Instalar el intérprete SWI-Prolog para ejecutar código Prolog en Ubuntu, 7.8 out of 10 based on 6 ratings
Be Sociable, Share!

Acciones

Informaciones

1 comentario

  • At 2011.09.26 00:54, Harim Garcia said:
    Mozilla Firefox 6.0.1 Linux

    Hay un paquete en particular que me intereza de swi-prolog, que es la conectividad con R, pero no explican como instalarlo. alguna sugerencia?

    VA:F [1.9.17_1161]
    Rating: 0.0/10 (0 votes cast)
    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    (Required)
    (Required, will not be published)