IUBio Biosequences .. Software .. Molbio soft .. Network News .. FTP

Main Screen of Mind.forth AI for Robots

Arthur T. Murray uj797 at victoria.tc.ca
Fri Feb 12 13:54:51 EST 1999


http://www.geocities.com/Athens/Agora/7256/m-forth.html Mind.forth
AI for Robots has one main screen which calls all the subroutines:
  
Screen # 44    ram:mind25
 --------------------------------
 0  \ Main Program Loop MIND                              990212atm
 1  : MIND  ( put any initial message here ) CR  0 blankt !  1 k !
 2
 3    ( call )  TABULARASA ( to erase everything in all arrays )
 4    ( call )  BOOTSTRAP  ( to load some initial concepts )
 5    BEGIN
 6    -1 alert !  ( set "alert" to "-1" or "true" )
 7     t @  tbasex !  ( save the base time for INSPECTION )
 8
 9   ( call )  THINK  ( to generate a sentence of thought )
10
11   alert WHILE ( continue here if receptive to keyboard input )
12   alert @ 0= NOT IF  t @  blankt !  CR
13   CR ." User: " ( a prompt for the user to type in a sentence )
14   43 s !  ( ASCII 43 = "+" for external Source)  SENSORIUM  THEN
15    1 t +!    REPEAT   ;
 --------------------------------



More information about the Neur-sci mailing list

Send comments to us at biosci-help [At] net.bio.net