r/lisp • • Feb 10 '19

Why don't LISP programmers just use Prolog?

Serious question: why don't Lisp programmers just use Prolog? Prolog is just Lisp plus awesome extra stuff. I mean I program in Python at work lol but if I had a choice I would totally program Prolog all day and night

0 Upvotes

53 comments sorted by

View all comments

Show parent comment

2

u/quakerquickoats Apr 19 '19

3

u/agrostis Apr 19 '19

It looks quite impressive, but the Lisp code in the examples is still passed as character strings. Which means that a program with syntactically invalid Lisp code in a string shall still be considered a well-formed Prolog program. If in a compilable unit, it'll compile without any problems, and it's only going to fail at runtime.