I am new to Prolog and noticed that \' and \" give different behavior, but am curious as to why. Specifically, when loading a file, ?- [\'test1.pl\']. works, w
?- [\'test1.pl\'].
Strings in Prolog are written in single quotes. Terms written in double quotes are immediately converted to a list of character codes.
?- write('sdf'). sdf true. ?- write("sdf"). [115, 100, 102] true.