svg153 / ciao-prolog-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:Makefile 65.8%Language:Dockerfile 30.1%Language:Emacs Lisp 4.1%