Results 1 to 6 of 6

Thread: Learning Prolog

  1. #1
    Join Date
    Jul 2011
    Beans
    3

    Learning Prolog

    Hi everybody,
    I'm a new user (of this forum, of ubuntu, and of prolog...), then I apologize if my problems are maybe too much stupid..
    I would like to learn prolog, having some good books about;
    I've installed the required packages in the synaptic package manager, now I'm looking for a good IDE.
    I've installed GNU Emacs and tried to follows the instructions here: www.swi-prolog.org/FAQ/GnuEmacs.html.
    But I don't understand what is said in point 3 of that page: "Add the following lines to ~/.emacs (~/_emacs on Windows):";
    I don't find that file anywhere, nor making a search (ctrl+F) from the fyle system.
    I see in windows using there a custom swi-prolog editor with two windows, one that is the proper editor to write "facts" and the second, the "reasoner", to pose question. I would like such an editor. I've also installed Anjuta that is suggested in this thread, but don't know how to configure it.
    Finally, sorry for my english (I'm italian).
    Thanks everybody

  2. #2
    Join Date
    May 2006
    Beans
    1,787

    Re: Installing Prolog

    Quote Originally Posted by natema View Post
    Hi everybody,
    I'm a new user (of this forum, of ubuntu, and of prolog...), then I apologize if my problems are maybe too much stupid..
    I would like to learn prolog, having some good books about;
    I've installed the required packages in the synaptic package manager, now I'm looking for a good IDE.
    I've installed GNU Emacs and tried to follows the instructions here: www.swi-prolog.org/FAQ/GnuEmacs.html.
    But I don't understand what is said in point 3 of that page: "Add the following lines to ~/.emacs (~/_emacs on Windows):";
    I don't find that file anywhere, nor making a search (ctrl+F) from the fyle system.
    ~/.emacs is a file that Emacs reads when it starts, which is supposed to contain customizations for the user. As a new user of Emacs, you don't have one yet, but then you should just create ~/.emacs, and put the suggested lines in it.
    I see in windows using there a custom swi-prolog editor with two windows, one that is the proper editor to write "facts" and the second, the "reasoner", to pose question. I would like such an editor. I've also installed Anjuta that is suggested in this thread, but don't know how to configure it.
    I don't know the answer to this.
    Finally, sorry for my english (I'm italian).
    No problem.

  3. #3
    Join Date
    May 2006
    Beans
    1,787

    Re: Installing Prolog

    By the way, it's better not to add questions to a very old thread (this one is more than two years), but to create a new thread, even if the subject fits.

  4. #4
    Join Date
    Jul 2011
    Beans
    3

    Re: Installing Prolog

    Many thanks for every suggestion Arndt
    I've "skipped" my problem realizing that, at the present moment, writing prolog simply in a text editor and then compiling it in the shell is not so bad... I will look for an IDE with debugger and such stuffs later

  5. #5
    Join Date
    Feb 2010
    Location
    White Plume Mountain
    Beans
    8,220
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Installing Prolog

    Closed for Necromancy
    Taking a break. Will be back sooner or later.

  6. #6
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Learning Prolog

    Moved to a new thread and re-opened... for now.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad] [Sub-forum]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •