--------------------[ Aine Language Tutorial ]--------------------- "Everything should be as simple as it is, but not simpler." - Albert Einstein ainebot consists of several programs which provide a distinct interface to the ainebot 'brain'. The 'brain' consists of several files, some of which are compiled or 'binary-encoded' for better bot performance. The brain is compiled from source files which are written in the Aine Language. Aine Language is based on the AIML language ( www.alicebot.org ), which uses the XML format. Compared to AIML, Aine Language is easier to read, more compact and includes extra features and 'tags' which are not included in AIML. Still, Aine Language is similar to AIML, so that if you already know how to edit or create AIML files, you should have no trouble grasping the Aine Language. This tutorial covers only the basics of programming in Aine Language, but you can learn more by looking at ready-made *.aine files. The ainebot distribution includes one complete bot 'personality', Amy, which is based on the Anna personality, which was based on the original 'A.L.I.C.E.' used by the C-Alice program. -------------------------------------------------------------------- The 'raw' Aine Language files use a very simple format consisting of two types of entries, what the user says to the bot and what the bot will reply. In AIML, each pair of lines is referred to as a 'category'. What the user inputs is referred to as a 'pattern' and what the bot responds is called the 'template'. A typical AIML category has the following form: WHAT THE USER SAYS