http://mind.sourceforge.net/aisteps.html
describes not so much how to _code_ an AI
Mind as how to _evolve_ an AI from the first
http://code.google.com/p/mindforth/wiki/MainLoop
through the quickening of artificial life to
the rudiments of thought and consciousness.
http://zhar.net/howto/html/ in general and
http://cyborg.blogspot.com/2009/11/linux.html
in particular discuss how to do AI in Linux.
http://www.scn.org/~mentifex/mindforth.txt
is Win32Forth source code being ported to
http://www.scn.org/~mentifex/mind.frt AI.