AI Mind - FORTH
- From: Frank <fjrusso@xxxxxxxxx>
- Date: 22 Apr 2007 12:31:07 -0700
Arthur, (ATM)
By accident I found a novel thing occuring with my AI Mind.
Remember my input is all buffered before processing and I added the
ability to execute Forth words (subroutines) from the user input
line. This lets me perform diagnostics while the AIMind is running.
Well, I was able to enter the following as a test:
Human: . : test1 cls cr 10 0 do i . loop cr ;
The '.' is a flag to process the line as executable. Well no errors
occured when I entered it.
Next I did:
Human: . test1 (cr) and the code was executed.
So what? Well to me it means the AI-Mind will be able to generate and
execute its own code, for that matter rewrite existing modules as
necessary. I just went in and reentered the test1:
Human: . : test1 cls ;
I was notified that test1 was redefined and when I called on it:
Human . test1 (cr)
and it did just as expected.
All of this is occuring while the AIMind is running. I have not
stopped the program and edited it and restarted it.
But If I do stop the program and do a warm boot, where it reloads the
mind values (CNS) I will lose the new definitions. Need to figure out
how I keep theses.
Still have an issue with it repeating subj and object being the same
noun. I am carefully going thru my code with both your java script
and your new version of forth side by side to see where or what I am
missing.
Since my parser is able to identify adjectives, pronouns, adverbs,
conjunctions..... I need to do something in parser so 'pre - seq' get
connected to the subj & obj nouns and the verb and not point to
anything else in between.
I only get to read my personal mail on the weekends at Yahoo. You can
use my work address if you still have it. I will be looking here and
on the win32forth group post.
Frank
.
- Follow-Ups:
- Re: AI Mind - FORTH
- From: Frank
- Re: AI Mind - FORTH
- From: mentifex
- Re: AI Mind - FORTH
- Prev by Date: Re: C to Forth converter?
- Next by Date: Re: AI Mind - FORTH
- Previous by thread: C to Forth converter?
- Next by thread: Re: AI Mind - FORTH
- Index(es):
Relevant Pages
|