Hola mundo en Prolog

#!/usr/bin/swipl -q -t holamundo -f holamundo :- write('Hola, mundo en Prolog!!'), nl, halt.
$ swipl
?- [holamundo].
?- holamundo.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.