Prolog is a declarative language that describes problems by facts and rules and solves problems by searching, matching and backtracking mechanism, which is particularly applied to symbol reasoning. This paper firstly introduces the main features and basic structure of Prolog and then presents the expression of three kind of control structure in structured programming language by interior predicate and the operational mechanism of Prolog aiming at the program problem in real application, so can make the Prolog to slove problems more efficiently.
Discussion(0)
No comments yet. Be the first to comment.