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.
Delicious
VN:F [1.9.3_1094]
Rating: 8.5/10 (2 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
Instalar el intérprete SWI-Prolog para ejecutar código Prolog en Ubuntu, 8.5 out of 10 based on 2 ratings
Comparte, descargalo en pdf, imprimelo o enviaselo a un amigo!
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • BarraPunto
  • Bitacoras.com
  • Meneame
  • PDF
  • RSS
  • StumbleUpon
  • Technorati

Entradas relacionadas:

  1. Crear paquetes DEB de código Python en Ubuntu
  2. Instalar Transmission 1.31 en Ubuntu (Repositorios Bortis)
  3. Arreglo de Firefox 3.5.x Branding para Ubuntu Jaunty & Karmic
  4. Tivion: un reproductor streaming para TV online en Ubuntu
  5. Cumplir estandar W3C con target=”_blank” utilizando Mootools


Acciones

Informaciones

No hay comentarios

    (Required)
    (Required, will not be published)