Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prolog - Interpreter

Status
Not open for further replies.

bikerbabe

Programmer
Mar 23, 2003
3
IE
Hi,
Is Prolog an interpreted language or a compiled language?
Thanks
bb
 
Hi,
It could be both - some of them are interpreters, some - compilers.
I am actually writing EZY Prolog ( which is interpreter, but uses compiler to verify program logic.
Prolog Compilers (Turbo Prolog/Visual Prolog) are often criticised for not following ISO standards (why not to change standards?), however, compilers give you more speed and robustness of the application, not to mention that compilers can detect logical errors before your program have chance to run.
One of the common error in Prolog program could be use of non-assigned variables and mixture of predicate flow patterns (use parameter as OUTPUT while predicate designed with parameter as INPUT).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top