Compilers: principles, techniques, and tools
Compilers: principles, techniques, and tools
Parsing and compiling using Prolog
ACM Transactions on Programming Languages and Systems (TOPLAS)
BYTE
A compiler generator for microcomputers
A compiler generator for microcomputers
Semantic evaluation from left to right
Communications of the ACM
Hi-index | 0.00 |
Based on an experiment in compiler writing methods, we discuss the speed of Prolog programs of modest size when compared with operationally equivalent Pascal programs. We have produced three versions of a compiler for the programming language Edison using three different tools: Pascal, Prolog, and a compiler writing system (GAG). The Prolog and Pascal programs analyzed in this case are the semantic analysis and the code transformation phases of the Edison compiler. Our analysis shows that it is possible to write Prolog programs that are able to compete in speed with the corresponding programs written in Pascal.