Frequently Asked Questions about Perl6 Artificial Intelligence


Q. What is this FAQ for?

A. Perl6 was released at the end of 2015. An artificial intelligence (AI) is being prepared to run in both Perl5 (first) and Perl6 (second). This FAQ aims to answer basic questions about the Perl AI.

Q. Where does the Perl AI come from?

A. The Perl AI is being ported during 2016 from pre-existing AI programs written in Forth (English AI and German AI) and JavaScript (English and Russian).

Q. If the AI already exists in Forth and in JavaScript, why is it being ported into Perl?

A. Forth is no longer the major programming language that it was for amateur robotics in the 1980's. JavaScript is well-suited for the tutorial AiMind.html, but not for full-blown Strong AI, because client-side JavaScript is hemmed in and severely restricted by the security precautions built into JavaScript so that it can be trusted in the Web browser on personal computers.

Q. Why is the Perl AI called Ghost?

A. Whereas the MindForth AI is meant for robots, the Perl Ghost AI is meant to live on webservers like the legendary and proverbial "Ghost in the Machine."

Differences between the Forth AI and the Perl AI

Q. How is the Perl AI different from the Forth AI?

A. The Perl AI has been greatly simplified from the excessive complexity of the Forth AI. For example, the three memory arrays in the Forth AI have been merged as only two arrays (@psy and @ear) in the AI Perlmind. The @psy array is for psychological concepts and the @ear array is for the storage and retrieval of ordinary English words in auditory memory of what the AI "hears" through either a computer keyboard or a robot microphone.

Q. MindForth can speak only English. What human languages can the Perl AI speak?

A. The original Perl AI is being programmed by Mentifex to think in English, or German, or Russian. Other human languages may be coded into the Perl AI or taught to the Perl AI.

Q. MindForth lives and thinks continuously, with or without human input. How does the Perl AI live and think?

A. While the human user or maintainer is entering a sentence of verbal input, the Perlmind must stop thinking and wait for the human user to press the [Enter] key. MindForth also waits for human input, but only briefly. If the human user does not press [Enter] after typing some input, MindForth stops listening and follows internal chains of thought. If the Perl AI is not waiting for human input, it may also follow internal chains of thought or explore the World Wide Web. Since the Perl AI by its webserver nature is more suited for reading computer files than for conversation with human beings, the Perl AI is free to read files speedily and with no waiting for someone to press the [Enter] key. It is only during interaction with a human being that the Perl AI must stop thinking and wait for the user to press the [Enter] key.

Opportunities for Perl AI programmers

Q. How can I work on the Perl AI code?

A. You may create your own version of artificial intelligence in Perl. When the original Perlmind has reached parity with MindForth, the Perl AI is like a bare Christmas tree waiting for artists like yourself to hang ornaments on it. You may alter any module in the Perl AI, and you may completely re-write the Perl AI. The basic Perlmind shows the minimal structure of an artificial mind in Perl. The program loops through the bare minimum of what is necessary for GOFAI -- Good Old-Fashioned Artificial Intelligence. The input modules receive either auditory input (AudInput) or textfile input (FileInput). The memory modules store the input in auditory memory and conceptual memory. The thinking module responds to user input by thinking and responding with a sentence of thought. There is no visual input of images, but you may work on attaching a visual input module. There is no motorium module for controlling a robot, but you may build one and either give your robot a mind or give your Perlmind a robot.

Q. Is there a standard AI Perlmind that I must contribute to?

A. No. It is important to "fork" the AI and develop it further in manifold branches, including branches leading to extinction, so that the process of Perl AI Evolution may adhere to the principle of Survival of the Fittest just like in animal evolution and in the pre-history of human evolution.

Join the #AI Conversation by tweeting
#AI #Perl visit
with your opinion +/- link. See also

Artificial Intelligence: Law and Policy
Mentifex asks White House Deputy Technology Chief Ed Felten to point out technology reporter
John Markoff of the New York Times at the Artificial Intelligence: Law and Policy workshop.