I have heard that in Prolog, program and data are the same thing. What does that mean?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It means that your program is implemented as a bunch of rules, and data is also implemented as a bunch of rules – there’s no distinction between a rule that causes some operations to happen (a program), and a rule that just gives back a data value.