[alicebot-archcomm] Shortcut elements, and the <sr/> tag

Ernest Lergon alicebot-archcomm@list.alicebot.org
Sat, 26 Jul 2003 19:20:04 +0200


Dr. Rich Wallace wrote:
> In program M I made <sr/> along with a few other tags be "macro" tags
> defined in a table of "macro substitutions".
> 
> This both simplified the parser and the definition of AIML.
> 
Maybe, but this makes Program M not AIML 1.01 compliant ;-)

> ['<topic/>','<get name="topic"/>'],
>  
Tag <topic/> is not yet defined. See new thread 'Topic handling'.

> ['<input/>','<input index="1"/>'],
>  
Almost. Should read <input index="1,1"/>.

> ['<that/>','<that index="1,1"/>'],
> ['<star/>','<star index="1"/>'],
> ['<thatstar/>','<thatstar index="1"/>'],
> ['<topicstar/>','<topicstar index="1"/>'],
>  
Ok.

> ['<sr/>', '<srai><star/></srai>'],
>  
Ok. See new thread 'Shortcuts'.

> ['<size/>', '<bot name="size"/>'],
>  
This is a NOT a shortcut but a "System-defined predicate". It does not
return a "constant" like bot-name or -birthday but the actual count of
the categories loaded. And see new thread 'Predefine predicates/properties'.

> ['<date/>', '<system>date</system>'],
>  
This is a NOT a shortcut but a "System-defined predicate". See new
thread 'Date output'.

> ['<person/>', '<person><star/></person>'],
> ['<person2/>', '<person2><star/></person2>']
>  
Ok. Add <gender/>. See new thread 'Shortcuts'.

Ernest

-- 
               ProgramV - Alice on Perl - available at
                http://www.virtualitas.net/perl/aiml/

       VIRTUALITAS - Manufacturer of fine OOPPS - since 1996
*********************************************************************
* VIRTUALITAS Inc.               *       http://www.virtualitas.net *
* Ernest Lergon                  *    mailto:Ernest@virtualitas.net *
*********************************************************************
       PGP-Fingerprint 6E6F DC17 A886 342D  D63F 7880 12F5 6BA9
         PGP-Key http://www.virtualitas.net/Ernest_Lergon.asc

---------------------------------------------------------------------
SPAM ALERT                       http://www.virtualitas.net/spam.html
---------------------------------------------------------------------