Abstract
This paper describes a compiler called ORACLE which allows a student to examine the actions performed by a simple compiler. Two features are provided to assist the student. The first called replacement mode, provides the necessary conditions to simulate the replacement of three compiler components: symbol table management, lexical analysis, and syntax analysis. Each replacement module is monitored by ORACLE in order to detect errors and to verify correct operation. The second, a trace option, permits source statements to initiate or terminate a selective monitoring of the actions of the compiler.
- 1 Aho, A. V., and J. D. Ullman (1972). The Theory of Parsing, Translation, and Compiling, Vol. 1. Parsing, Prentice-Hall, New Jersey. Google Scholar
Digital Library
- 2 Feldman, J. A. (1966). "Translater Writing Systems." CACM 11 (Feb. 1968), 77-113 Google Scholar
Digital Library
- 3 Gries, D. (1971). Compiler Construction for Digital Computers, Wiley, New York. Google Scholar
Digital Library
- 4 Haynes, W. R. Jr. (1976). "ORACLE: A Pedagogic Compiler." M.S. Thesis, The University of Tennessee, Knoxville.Google Scholar
- 5 Jensen, K. and N. Wirth (1975). "PASCAL User Manual and Report," Springer-Verlag Lecture Notes in Computer Science - 18. Google Scholar
Digital Library
- 6 Lukasiewicz, J. (1929). "Oznaczenui i potrzebach logiki matematiycznej." (On the importance and needs of mathematical logic.) Nauka Polska 10, 604-620.Google Scholar
- 7 McKeeman, W. M. (1975). "Symbol Table Access" in Compiler Construction, An Advanced Course, ed. F. L. Bauer and J. Eickel, Springer-Verlag Lecture Notes in Computer Science - 21, 253-301. Google Scholar
Digital Library
- 8 Morris, R. (1968). "Scatter Storage Techniques." CACM 11:1, pp. 38-44. Google Scholar
Digital Library
- 9 Wirth, N. (1971). "The Programming Language PASCAL," ACTA Informatica 1, Springer-Verlag, pp. 35-63.Google Scholar
Digital Library
Index Terms
ORACLE a tool for learning compiler writing
Recommendations
ORACLE a tool for learning compiler writing
SIGCSE '77: Proceedings of the seventh SIGCSE technical symposium on Computer science educationThis paper describes a compiler called ORACLE which allows a student to examine the actions performed by a simple compiler. Two features are provided to assist the student. The first called replacement mode, provides the necessary conditions to simulate ...
Filtering directory lookups in CMPs with write-through caches
Euro-Par'11: Proceedings of the 17th international conference on Parallel processing - Volume Part IIn CMPs, coherence protocols are used to maintain data coherence among the multiple local caches. In this paper, we focus on CMPs using write-through local caches, and a directory-based coherence protocol implemented as a duplicate of the local cache ...
META II a syntax-oriented compiler writing language
ACM '64: Proceedings of the 1964 19th ACM national conferenceMETA II is a compiler writing language which consists of syntax equations resembling Backus normal form and into which instructions to output assembly language commands are inserted. Compilers have been written in this language for VALGOL I and VALGOL ...






Comments