Re: Prolog as a scripting language
- From: Markus Triska <triska@xxxxxxxx>
- Date: Wed, 28 Feb 2007 14:35:15 +0100
ashley.fernandes@xxxxxxxxx wrote:
Ah, yes. Looks like I'm still thinking procedurally. Thanks.
Regarding your general question about Prolog shell programming: As a
starting point, DES has a nice shell written in Prolog:
http://www.fdi.ucm.es/profesor/fernan/DES/
Prolog's dynamic and untyped nature makes it suitable for shell
programming. Also, the more you rely on Prolog terms for internal data
representation in config files, logs, scripts etc., the less you need
regular expressions and parsing (read/1 does it for you). Of course,
you can't always choose the formats you work with. Often, you can.
All the best,
Markus
--
comp.lang.prolog FAQ: http://www.logic.at/prolog/faq/
.
- Follow-Ups:
- Re: Prolog as a scripting language
- From: A . L .
- Re: Prolog as a scripting language
- References:
- Prolog as a scripting language
- From: ashley . fernandes
- Re: Prolog as a scripting language
- From: A . L .
- Re: Prolog as a scripting language
- From: ashley . fernandes
- Re: Prolog as a scripting language
- From: Markus Triska
- Re: Prolog as a scripting language
- From: ashley . fernandes
- Prolog as a scripting language
- Prev by Date: A note
- Next by Date: Re: Prolog as a scripting language
- Previous by thread: Re: Prolog as a scripting language
- Next by thread: Re: Prolog as a scripting language
- Index(es):
Relevant Pages
|
|