Re: Prolog as a scripting language



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/
.



Relevant Pages

  • Re: Prolog as a scripting language
    ... Regarding your general question about Prolog shell programming: ... DES has a nice shell written in Prolog: ... rely on Prolog terms for internal data representation in config files, ...
    (comp.lang.prolog)
  • Re: Prolog as a scripting language
    ... Regarding your general question about Prolog shell programming: ... DES has a nice shell written in Prolog: ... rely on Prolog terms for internal data representation in config files, ...
    (comp.lang.prolog)
  • Re: Prolog, expert system shells and inference engines
    ... I want to develop expert systems for medical diagnosis. ... What is the difference between an ES shell and Prolog? ... If Prolog has already an inference engine why is it necessary to build ...
    (comp.lang.prolog)
  • Re: Prolog, expert system shells and inference engines
    ... I want to develop expert systems for medical diagnosis. ... What is the difference between an ES shell and Prolog? ... If Prolog has already an inference engine why is it necessary to build ...
    (comp.lang.prolog)
  • Prolog, expert system shells and inference engines
    ... I have built my abovementioned ES in this way. ... What is the difference between an ES shell and Prolog? ... If Prolog has already an inference engine why is it necessary to build ...
    (comp.lang.prolog)