sunday evening musing

gav on 2002-09-02T04:28:53

I have been thinking about other languages this evening, mainly Prolog and Lisp. A lot of the work I do is kind of rule based, on e-commerce sites. For example: "charge x extra for shipping if they live in state y" or "show products x, y, z if the user views product w". I'm quite interested in embedding Prolog in my perl scripts to work on things like this. This line of thinking was triggered by the recent release of Language::Prolog::SWI on CPAN. I had a quick look on Amazon for books and the only one that caught my eye was Clause and Effect: Prolog Programming for the Working Programmer. Any suggestions?

The lisp comes from my work on the Yahoo Store platform which a large amount of is written in lisp. They use something called RTML (overview) which is basically a lisp program which you edit with an editor that makes it simpler by hiding parentheses. I'm hoping that we might be able to bypass that step and hack lisp directly, which is why the sudden interest.

It's quite nice not having to go into work tommorow, though I've got plenty to do. I'm hoping to sneak into work in the morning and install RedHat on my new server, come home, finish cleaning the apartment, and then go out to a BBQ in the evening. I think a beer or six in celebration of a productive long weekend is in order :)