Re: JESS: [EXTERNAL] Emacs Jess Users?

2012-10-11 Thread Grant Rettke
On Wed, Oct 10, 2012 at 9:04 AM, Friedman-Hill, Ernest
 wrote:
> If you have a patch, let me know and I can post it for other people to use.

Someone already posted describing the fix here but with a patch for it:

http://planetjava.org/java-jess/2004-05/msg6.html

Here is my patch with their fix:

http://www.wisdomandwonder.com/wordpress/wp-content/uploads/2012/10/jess-mode-1.2-emacs-24.patch_.gz

Thanks!


To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
in the BODY of a message to majord...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.




Re: JESS: [EXTERNAL] What is your preferred Eclipse version, distribution, and bitness for Jess 7*?

2012-10-11 Thread Grant Rettke
On Wed, Oct 10, 2012 at 9:06 AM, Friedman-Hill, Ernest
 wrote:
> Jess doesn't care, being a pure Java library. The 32 vs 64-bit question
> depends entirely on your own machine's architecture, and then the proper
> Eclipse distribution depends on what sort of code you intend to write: for
> example, the RCP/RAP developer package is for people who are writing
> Eclipse plugins, while "Eclipse Classic" is a good all around distribution
> for general Java programming.

Good to know. Everything installed perfectly. Here are my notes:

http://www.wisdomandwonder.com/article/6449/installing-jess-71p2-in-eclipse-4-2


To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
in the BODY of a message to majord...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.




Re: JESS: [EXTERNAL] Emacs Jess Users?

2012-10-11 Thread Andre Luiz Tietbohl Ramos
Hello,

I'm having a problem to start Jess in ubuntu 12.04.  I have jess-mode
installed in /usr/share/emacs/site-lisp/jess-mode and when I try M-x
jess-mode I receive the error below:

setq: Symbol's value as variable is void: shared-lisp-mode-map

Would anyone know how to solve this please?  Jess works fine in a
terminal.

Thanks,

Andre Luiz


On Tue, 2012-10-09 at 22:57 -0500, Grant Rettke wrote:

> Hi,
> 
> Emacs v24 jess-mode users, are you out there?
> 
> I just found a fix to make jess-mode play nice with Emacs 24 was
> wondering if anyone else is using it.
> 
> Everything just works so far and I wanted to have someone to bounce
> ideas off of.
> 
> Best wishes,
> 
> Grant Rettke
> 




Re: JESS: [EXTERNAL] Emacs Jess Users?

2012-10-11 Thread Grant Rettke
On Wed, Oct 10, 2012 at 8:33 PM, Andre Luiz Tietbohl Ramos
 wrote:
> I'm having a problem to start Jess in ubuntu 12.04.  I have jess-mode
> installed in /usr/share/emacs/site-lisp/jess-mode and when I try M-x
> jess-mode I receive the error below:
>
> setq: Symbol's value as variable is void: shared-lisp-mode-map
>
> Would anyone know how to solve this please?  Jess works fine in a terminal.

I had the same problem described here
http://www.wisdomandwonder.com/link/6442/making-jess-mode-v1-2-work-on-emacs-24
and patched here

http://www.wisdomandwonder.com/wordpress/wp-content/uploads/2012/10/jess-mode-1.2-emacs-24.patch_.gz

I run Emacs 24 on Lubuntu 12.04 and it seems to work fine so far.


To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
in the BODY of a message to majord...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.




JESS: [EXTERNAL] Ordered facts question

2012-10-11 Thread Grant Rettke
Hi,

I'm working on

5.4. Ordered facts

in

file:///C:/x86/Jess71p2/docs/memory.html

with Jess "Jess Version 7.1p2 11/5/2008"

where there is an example

Jess> (number (value 6))

I expected the ordered fact "number" to get created on-demand but instead got:

Jess reported an error in routine Funcall.execute
while executing (number (value 6)).
  Message: Undefined function number.
  Program text: ( number ( value 6 ) )  at line 1.

What am I doing wrong?

Best wishes,

Grant

--
((λ (x) (x x)) (λ (x) (x x)))
http://www.wisdomandwonder.com/
ACM, AMA, COG, IEEE




To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
in the BODY of a message to majord...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.




Re: JESS: [EXTERNAL] Ordered facts question

2012-10-11 Thread Friedman-Hill, Ernest
You can't type a fact directly at the prompt. You can add a fact to
working memory using the (assert) function (as shown in section 5.2) or
you can use the (deffacts) construct to create a group of facts that will
then be added to working memory on reset events (as in section 5.5) .

As a general rule, in the HTML manual, the light red blocks show
interactive sessions with Jess -- things you can type directly at the
prompt -- while the green ones do not. The red ones show the actual
"Jess>" prompt; the "number" fact you typed in below is from a green
block, and is meant to indicate how the fact data structures look.  There
are also violet-colored blocks: those are compilable Java code.
 
I'm actually rather proud of what the Jess test suite does to verify the
manual. The dialogs in the red blocks are actually parsed from the XML
source of the manual and verified: if one of the red blocks says that Jess
gives a particular response to a given input, that is actually verified in
the test suite. Likewise, the code in the violet blocks is compiled, and
if output is shown in the manual, the output is verified correct. The
green boxes are the escape mechanism: they can contain pretty much
anything, and no validation is done on them.


On 10/11/12 4:43 PM, "Grant Rettke"  wrote:

>Hi,
>
>I'm working on
>
>5.4. Ordered facts
>
>in
>
>file:///C:/x86/Jess71p2/docs/memory.html
>
>with Jess "Jess Version 7.1p2 11/5/2008"
>
>where there is an example
>
>Jess> (number (value 6))
>
>I expected the ordered fact "number" to get created on-demand but instead
>got:
>
>Jess reported an error in routine Funcall.execute
>   while executing (number (value 6)).
>  Message: Undefined function number.
>  Program text: ( number ( value 6 ) )  at line 1.
>
>What am I doing wrong?
>
>Best wishes,
>
>Grant
>
>--
>((λ (x) (x x)) (λ (x) (x x)))
>http://www.wisdomandwonder.com/
>ACM, AMA, COG, IEEE
>
>
>
>
>To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
>in the BODY of a message to majord...@sandia.gov, NOT to the list
>(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.
>




To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
in the BODY of a message to majord...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.