Abstract
One of the advantages of fancy compile time type checking systems besides avoiding runtime checking overhead is the early detection of program bugs and conceptual problems. Unfortunately, large bodies of old code exist which were written for untyped or dynamically typed systems, which leave such problems to be detected during execution, often much later and only in response to peculiar or unusual input. A typical example of this syndrome is the computer algebra system REDUCE. The experience of fighting valiantly with this in the past, has led now to an attempt to improve on the situation by applying inferencing techniques to add type information to the current source code in a relatively painless way. I present here a preliminary report on this work, showing that the complexly related type scheme of an algebra system is particularly suitable for this.
Preview
Unable to display preview. Download preview PDF.
References
Anthony C. Hearn: The REDUCE User's Manual, 1991, RAND Publication CP78 UNIX Programmer's Manual.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1993 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Brunswick, B.D. (1993). LILK — Static analysis of REDUCE code. In: Fitch, J. (eds) Design and Implementation of Symbolic Computation Systems. DISCO 1992. Lecture Notes in Computer Science, vol 721. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-57272-4_22
Download citation
DOI: https://doi.org/10.1007/3-540-57272-4_22
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-57272-5
Online ISBN: 978-3-540-48031-0
eBook Packages: Springer Book Archive