Skip to content

svg153/ciao-prolog-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ciao-prolog-docker

TLDR

Copy your files to edit into the WS folder.

Type make and wait...

make

Hello World

  • Ciao CLI

Type emacs hello.pl

main :-
     write('Hello World'),
     nl.

Then type C-c C-s to save and C-x C-c to exit emacs. Then type ciaoc hello.pl to compile and execute it: ./hello

  • Emacs GUI

Type emacs hello.pl

main :-
     write('Hello World'),
     nl.

Then type C-c C-s to save, C-c l to compile and C-c x to make an executable.

emacser@ciao-docker:~/workspace$ ./hello
Hello World

Your custom emacs config

Not for now... PRs are welcome.

Alternatives

Install Ciao on unix based O.S. without docker container.

THANKS