| Good design principles in a compiler university course |
| Full text |
Pdf
(604 KB)
|
| Source
|
ACM SIGPLAN Notices
archive
Volume 37 , Issue 4 (April 2002)
table of contents
COLUMN: Technical correspondence
table of contents
Pages: 62 - 73
Year of Publication: 2002
ISSN:0362-1340
|
|
Authors
|
|
César F. Acebal
|
University of Oviedo, Calvo Sotelo, s/n, 33007, Oviedo (Spain)
|
|
Raúl Izquierdo Castanedo
|
University of Oviedo, Calvo Sotelo, s/n, 33007, Oviedo (Spain)
|
|
Juan M. Cueva Lovelle
|
University of Oviedo, Calvo Sotelo, s/n, 33007, Oviedo (Spain)
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 3, Downloads (12 Months): 23, Citation Count: 1
|
|
|
ABSTRACT
This paper presents what aims to be an example of good design principles applied to compiler construction. To be more specific, it presents an interpreter of a very simple object oriented language, called SmallScript, that has been designed to be taught in a Compiler University course. Our aim is not to develop a new, revolutionary language, neither to show a spectacular advance in some research field of compiler construction. Instead, as university teachers, we aim to offer both students and teachers an example of how a modern interpreter can be designed, focusing on object orientation and using modern tools like JavaCC and JJTrree.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Java Compiler Compiler™ (JavaCC). www.webgain. com/products/java_cc
|
| |
2
|
ANTLR. www. antlr.org
|
| |
3
|
Alfred V. Aho , Ravi Sethi , Jeffrey D. Ullman, Compilers: principles, techniques, and tools, Addison-Wesley Longman Publishing Co., Inc., Boston, MA, 1986
|
| |
4
|
|
| |
5
|
|
| |
6
|
|
| |
7
|
|
| |
8
|
|
| |
9
|
James Gosling , Bill Joy , Guy Steele , Gilad Bracha, Java Language Specification, Second Edition: The Java Series, Addison-Wesley Longman Publishing Co., Inc., Boston, MA, 2000
|
|