A Python implementation of Prolog using character strings to hold and work with clauses and terms instead of a syntax tree. No lexer; no parser. Just 400 lines of Python, including comments. "Pen & ...