27 ms·
What language would you write it in?
What language would you write it in?
c :)
http://www.alicebot.org/aiml.html http://www.alicebot.org/aiml.html
Given that this program is mainly several regexp matches against the input string, perhaps perl or awk would be a perfect match here?