© 1986 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||
On the Choice of Grammar and Parser for the Compact Analytical Encoding of Programs
Department of Computer Studies, University of Technology, Loughborough, Leicestershire, LE11 3TU, UK
If a computer program is analysed according to the language in which it is written then it is possible to represent the program by describing its derivation. It is shown that it is also possible to represent the program by recording the decisions made by a parser while parsing it. Thus the term analytical encoding embraces derivation encoding and parsing coding.
Some general principles are given for choosing an analytical encoding method which yields good compression.
Received November 1983.
* Department of Computer Studies, University of Technology, Loughborough, Leicestershire, LE11 3TU