?- usually a top-level invitation or top-level shell; which is the place where you can ask queries and enter commands. It has similar functionality as the read-eval-print loop in other languages.
On some systems, this prompt is used or used as | ?- | ?- which is a more traditional invitation. This invitation comes from one of 1978's early Prolog systems, DECsystem 10 Prolog. The operating system request for input was | , and the user had to enter ?- X is 1+1. to enter a request.
source share