Ernest,
I see. Can you give me a hint as to how I might modify Jesp so that
it will consume multiple s-expressions? Unfortunately, I am already tracking
a couple of minor modifications to the release.
Thanks again.
Bob
Ernest Friedman-Hill wrote:
> Hi Bob,
>
> It works this way just because that's how the CLIPS command-line
> interface works, and CLIPS compatibility used to be a big driver for
> Jess.
>
> I think Bob Johnson wrote:
> >
> >
> > I am wondering why Console.class only evaluates one s-expression per
> >
> > invocation. More precisely, why does Jesp.parse() seem to only process
> > one
> > s expression given the "while (!val.equals(Funcall.EOF))" control
> > structure?
> >
> > Example:
> > ---------------------------------------------------------------------------------
> >
> > Jess, the Java Expert System Shell
> > Copyright (C) 1998 E.J. Friedman Hill and the Sandia Corporation
> > Jess Version 5.0b2 11/8/99
> >
> > Jess> (assert (one 1)) (assert (two 2))
> > <Fact-0>
> > Jess> (facts)
> > f-0 (one 1)
> > For a total of 1 facts.
> > Jess>
> > ---------------------------------------------------------------------------------
> >
> > Regards,
> >
> > Bob
> >
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Distributed Systems Research Phone: (925) 294-2154
> Sandia National Labs FAX: (925) 294-2234
> Org. 8920, MS 9012 [EMAIL PROTECTED]
> PO Box 969 http://herzberg.ca.sandia.gov
> Livermore, CA 94550
begin:vcard
n:Johnson;Bob
tel;fax:303 544 0373
tel;work:303 440 8833 x20
x-mozilla-html:FALSE
url:www.streampoint.com
org:Streampoint Financial Systems, Inc.
version:2.1
email;internet:[EMAIL PROTECTED]
title:V.P. of Product Development
adr;quoted-printable:;;4940 Pearl East Circle=0D=0ASuite 200=0D=0A;Boulder;CO;80301;
fn:Bob Johnson
end:vcard