Re: Newbie-level problem

2013-12-16 Thread Alexander Burger
Hi Jon, Yes, using #!/usr/bin/picolisp instead of #!/usr/bin/pil worked fine in OSX. In my case at the moment, however, this #!/usr/bin/picolisp /usr/lib/picolisp/lib/misc.l seemed to be better than .../lib.l, since the only lib function I needed was 'stamp'. Oh, I see. However, I would

Prolog into pilog

2013-12-16 Thread Jon Kleiser
Hi, I've just started reading the book Prolog and Natural-Language Analysis by F. C. N. Pereira and S. M. Shieber, and I'm trying to translate some of the Prolog code in the book into pilog. I don't expect to take this translation work very far, but at least I'll try for a while. After a few

Re: Prolog into pilog

2013-12-16 Thread Henrik Sarvell
If it helps I translated the SWI prolog tutorial here: http://www.prodevtips.com/2008/04/28/advanced-oodb-in-pico-lisp/ On Tue, Dec 17, 2013 at 4:00 AM, Jon Kleiser jon.klei...@usit.uio.no wrote: Hi, I've just started reading the book Prolog and Natural-Language Analysis by F. C. N. Pereira

Re: Prolog into pilog

2013-12-16 Thread Alexander Burger
Hi Jon, author(Person) :- book(Book), wrote(Person, Book). ... pilog. The rule says that Person is an author if there is a book Book and Person wrote Book. Can pilog express rules like this? It should be like (be author (@Person) (book @Book) (wrote @Person @Book) ) ♪♫