And the degree to which a production system leans toward the declarative
or imperative end of the spectrum is as much a matter of programming
style as the language itself. To the degree that you are thinking of
each rule as a specification of what to do under a set of circumstances,
with flow of control influenced strictly by how the KB changes, you are
emphasizing declarative programming. To the extent that you are thinking
explicitly about a specific flow of control as in convential programming
you are moving toward procedural programming.
Doug Metzler
On Tue, 30 Jan 2007, Ernest Friedman-Hill wrote:
Well, rules themselves are definitely a declarative programming concept. But
Jess also offers an imperative language, and in fact the right-hand-sides of
rules consist of imperative code.
So in fact, Jess, and systems like it, are hybrid declarative/imperative.
On Jan 30, 2007, at 5:03 PM, Matthew J Hutchinson wrote:
Hi everyone,
I'm trying to categorize Jess in terms of the different programming
language paradigms. Is Jess "declaritive"?
Thanks,
Matt
---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.com
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------