| E. Hilsdale, J. M. Ashley, R. K. Dybvig, and D. P. Friedman. Compiler Construction using Scheme. In Functional Programming Languages in Education, FPLE'95, pages 251--267. LNCS 1022, Springer-Verlag, 1995. |
....analyzer generators, such as Alex [Dor97] and Happy [GM96] producing functional code have been written. This facilitates that practical work of students can be done in a functional setting. The only work known to the author where a complete functional compiler construction course is reported is [HADF95] which is in fact a particular experience of building a concrete compiler for the language Scheme. Here, we present a general course on compiling, applicable to both imperative and functional languages, in which the usual algorithms presented in the books for scanning, parsing, type checking, ....
....of the second semester. Otherwise, not enough material would have been taught for them to build their own compiler. In what follows, I explain how this work is organized. Some compiler courses are structured around the construction of a single compiler for a particular language. For instance, in [HADF95] a compiler for Scheme written in Scheme is built along the course. This implies that the practical work is organized around a common task and that any particular student has to do a piece of it. The advantage of this approach is that students are building an actual compiler. The disadvantages, ....
E. Hilsdale, J. M. Ashley, R. K. Dybvig, and D. P. Friedman. Compiler Construction using Scheme. In Functional Programming Languages in Education, FPLE'95, pages 251--267. LNCS 1022, Springer-Verlag, 1995.
Online articles have much greater impact More about CiteSeer.IST Add search form to your site Submit documents Feedback
CiteSeer.IST - Copyright Penn State and NEC