Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 986 Bytes

README.md

File metadata and controls

58 lines (38 loc) · 986 Bytes

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