Attribute based compiler implemented using visitor pattern

0Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.
Get full text

Abstract

In our compiler course for undergraduate students, we use a class of attribute grammars to specify type information, target code, and other properties calculated for the source program. In the design of the compiler, a modification of the visitor design pattern allows us to transparently compute the attributes. Within our framework, implementation is straightforward; the emphasis of the course shifts to theory and specification. In several offerings of the course, students have implemented parts of a highly modular compiler for a small, statically typed object oriented language. Copyright 2004 ACM.

Cite

CITATION STYLE

APA

Neff, N. (2004). Attribute based compiler implemented using visitor pattern. In SIGCSE Bulletin (Association for Computing Machinery, Special Interest Group on Computer Science Education) (Vol. 36, pp. 130–134). https://doi.org/10.1145/1028174.971347

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free