skip to main content
article

Experiences in building a compiler for an object-oriented language

Published:01 April 2003Publication History
Skip Abstract Section

Abstract

Traditionally books on compiler construction focus on procedural languages leaving some questions on compilation of object-oriented languages unanswered. This article presents some problems found in the building of a compiler for the object-oriented language Green using Java. The solutions used for these problems are exposed and whenever possible alternatives are discussed. We hope to provide programmers with some hints and caveats on compilation of object-oriented languages.

References

  1. Aho, Alfred V. and Ullman, Jeffrey D. Principles of Compiler Design. Addison-Wesley Publishing, 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Ananian, C. Scott. JLex: A Lexical Analyzer Generator for Java. http://www.cs.princeton.edu/~appel/modern/java/JLexGoogle ScholarGoogle Scholar
  3. Appel, Andre W. Modern Compiler Implementation in Java. Cambridge University Press, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Grune, D.; Bal, H.; Jacobs, J. H. and Langendoen, K. Modern Compiler Design. John Wiley & Sons, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Guimarães, José de Oliveira. The Green Language. Available at http://www.dc.ufscar.br/~jose/green/green.htm.Google ScholarGoogle Scholar
  6. Guimarães, José de Oliveira. The Class Generation. Available at http://www.dc.ufscar.br/~jose/courses/cc/classgen.html.Google ScholarGoogle Scholar
  7. Hudson, Scott E. CUP Parser Generator for Java. http://www.cs.princeton.edu/~appel/modern/java/CUPGoogle ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in

Full Access

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader