ciao-lang/ciao

Notes about CIAO installation (my first impression on CIAO system)

claudiosa opened this issue · 2 comments

Hi everyone:

I will be reporting here the first impressions about the CIAO, looking for an improvement with CIAO community:

  1. About the installation (Linux and derivatives):
    Normally, the major applications, these installations are done with root account. All the time, su, and sudo su, are used to install a new packages etc.
    Well, in the ciao, install as a normal user, no as sudo su or su
    (my first mistake).
    The installation will be in /home/USER/.ciaoroot/master/ ....
    so confirm it after all.

  2. In /home/USER/.ciaoroot/master/ there a file called ciao-boot.sh
    read this file and check its options. Very useful.
    For instance:
    ./ciao-boot.sh list

  3. Although VSCODE has been a universal editor, the extension for ciao works under EMACS. So, learn emacs to obtain the advantes from ciao.

  4. However, if you wish extend the ciao with other languages ... for instance tcl/tk, now, as su or sudo su,
    install the some packages like wish and tcl. In Debian systems,
    apt install wish
    apt install tcl

  5. The ciao command in the manual does many task, but it does not exist .... and my case
    ciao-shell is the command for "ciao"

  6. The iterative mode to try the ciao
    $ ciaosh
    Ciao 1.20.0 [LINUXx86_64]
    ?-
    should be presenting some initials informations for new user.
    Command listing., help(predicate), consult(....), for beginners these informations are essential.

  7. The shortcuts for console in ciaosh, such Crtl-A, Ctrl-E ... standard in Linux system does not work yet.
    Including arrorw up and dow... repeat last commantds.

Positive regards:

  • The compiler is fast as well its executable. Probably a VM embeded.
  • The system in GitHub, seems clean (lean)
  • The answer by email were cool and very kindly

Final suggestion:

  • To rewrite some parts of the manual ...
  • A section (tutorial) of the first-steps for beginners

Well Manuel, it was my first glimpse of ciao system ...some minimal details let it a little confuse for a first use.

My best regards and call me if can help you

Claudio

jfmc commented

Dear Claudio,

Thanks for the kind words and for trying Ciao! We'll consider all suggestions to improve the usage and documentation. It is a bit strange that the ciao command is not generated or installed in your system. In principle it should be, and when it is there, then it wraps ciaosh under rlwrap (when not started from emacs) so that C-a C-e, etc. are available.

It would be really helpful if you could keep and share log of the installation.

Cheers,

Thank you

ccs