Abstract
Language processors are not only important for the construction of compilers and interpreters but also for an increasing number of applications that relay on XML parsers like e-commerce software or grammar checkers like word processors.
Compiler construction tools have proven to be very useful for programmers and language designers although traditional tools have not seen much improvement in recent years. What is more important, those tools have bypassed the object-oriented revolution. This is particularly unfortunate because compilers, being complex systems, would definitely benefit from the modularity and code reuse that object orientation allows.
In this paper, an object-oriented framework generator called O2C2 is presented. The tool has the potential to improve the quality of compiler construction by introducing the concept of frameworks in the field of compilers and language processors.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Proceedings of the USENIX Conference on Domain Specific Languages, 1999. ACM SIGPLAN vol. 35, 1, January 2000.
Apache XML project. URL: http://xml.apache.org
E. Berk. Jlex: A Lexical analyser generator for Java™. World-Wide Web page URL:http://www.cs.princeton.edu/~appel/modern/java/JLex/
O. De Moor, S. Peyton-Junes, E. Van Wyk. Aspect Oriented Compilers. First International Symposium on Generative and Component-Based Software Engineering. LNCS, Springer-Verlag, 1999.
Amy Fowler. A Swing architecture overview. The inside story on JFC Component Design.. Sun Microsystems. Jun 2000. URL: http://iava.sun.com/products/jfc/tsc/articles/architecture/index.html
E. Gagnon, L. Hendren. SableCC, an Object-Oriented Compiler Framework. McGill University, Quebec, Canada. June 1998.
J.E. Labra Gayo, J.M. Cueva Lovelle, M.C. Luengo Díez. Language Prototyping using modular monadic semantics. 3rd Latin-American Conference on Functional Programming. Recife, Brasil. March 1999.
S.E. Hudson. CUP parser generator for Java™. World-Wide Web page URL: http://www.cs.princeton.edu/~appel/modern/java/CUP/
S.C. Johnson. YACC — yet another compiler compiler. Technical Report Computing Science Technical Report 32, AT&T Bell Laboratories. Murray Hill, N.J.,1975.
Gerwin Klein. JFlex user’s manua”. URL: http://www.iflex.de. July 1999.
M. E. Lesk. Lex — a lexical analyzer generator. Technical Report Computing Science Technical Report 39, AT&T Bell Laboratories. Murray Hill, N.J.,1975.
Megelang Institute. ANTLR 2.7.0. World-Wide Web page URL: http://www.antlr.org/
David Megginson. SAX 2.0: The Simple API for XML. May 2000. URL: http://www.megginson.com/SAX/index.html
D. Roberts, R. Ralph Johnson. Evolving Frameworks: A pattern language for developing object oriented frameworks. University of Illinois, 1997.
JavaCC™. URL:http://www.cs.ukc.ac.uk/teaching/resources/java/iavacc/DOC/
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag London Limited
About this paper
Cite this paper
Basanta, D., Luengo, C., Izquierdo, R., Labra, J.E., Cueva, J.M. (2001). Constructing Language Processors using Object-Oriented Techniques. In: Patel, D., Choudhury, I., Patel, S., de Cesare, S. (eds) OOIS 2000. Springer, London. https://doi.org/10.1007/978-1-4471-0299-1_30
Download citation
DOI: https://doi.org/10.1007/978-1-4471-0299-1_30
Publisher Name: Springer, London
Print ISBN: 978-1-85233-420-8
Online ISBN: 978-1-4471-0299-1
eBook Packages: Springer Book Archive