For Programmers: Free Programming Magazines  


Home > Archive > Prolog > December 2004 > Sample Programs









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Sample Programs
Nikhil Barthwal

2004-11-29, 8:57 pm

Hi,

I am new to SWI-Prolog and I was reading the manual but lot of points were
somewhat unclear to me.

I was wondering if we have some tutorial, specific to SWI-Prolog that have
examples on how to access files, read & write, using XML with SWI etc.

Alternatives a lot of example programs would also serve the purpose.

Thanks in advance,

Nikhil
djame

2004-11-29, 8:57 pm

Nikhil Barthwal a écrit :
> Hi,
>
> I am new to SWI-Prolog and I was reading the manual but lot of points were
> somewhat unclear to me.
>
> I was wondering if we have some tutorial, specific to SWI-Prolog that have
> examples on how to access files, read & write, using XML with SWI etc.
>
> Alternatives a lot of example programs would also serve the purpose.
>
> Thanks in advance,
>
> Nikhil"

Have a look into the Patrick blackburn's and Johan Boss "Learn Prolog now"

http://www.coli.uni-sb.de/~kris/learn-prolog-now



have fun


Djamé

Jan Wielemaker

2004-11-29, 8:57 pm

In article <f1ff057b.0411281213.4ed88bd3@posting.google.com>,
Nikhil Barthwal wrote:
> Hi,
>
> I am new to SWI-Prolog and I was reading the manual but lot of points were
> somewhat unclear to me.
>
> I was wondering if we have some tutorial, specific to SWI-Prolog that have
> examples on how to access files, read & write, using XML with SWI etc.
>
> Alternatives a lot of example programs would also serve the purpose.


My advice would be to start with a proper Prolog textbook. The `best'
one depends on your style and experience. Bratko is often referenced.
Handling XML comes next. First and most important step is to get the
basics of Prolog.

Success --- Jan
Nikhil Barthwal

2004-12-01, 8:57 pm

Thanks Jan and Djame for your advice. I have been programming in Turbo
Prolog/Visual Prolog and now want to switch to SWI System. Hence I do
not want to go though basic Prolog material like Fact, Rules, Backtracking
etc. which most of it I already know but rather something very specific
to SWI and more on how to use the system than learn in general on what Prolog
is.

Could someone have a specific pointer to SWI (Other than reference manual)?

Thanks,

Nikhil


> My advice would be to start with a proper Prolog textbook. The `best'
> one depends on your style and experience. Bratko is often referenced.
> Handling XML comes next. First and most important step is to get the
> basics of Prolog.
>
> Success --- Jan

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com