Skip to main content

Constructing Language Processors using Object-Oriented Techniques

  • Conference paper
OOIS 2000

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Proceedings of the USENIX Conference on Domain Specific Languages, 1999. ACM SIGPLAN vol. 35, 1, January 2000.

    Google Scholar 

  2. Apache XML project. URL: http://xml.apache.org

    Google Scholar 

  3. E. Berk. Jlex: A Lexical analyser generator for Java™. World-Wide Web page URL:http://www.cs.princeton.edu/~appel/modern/java/JLex/

    Google Scholar 

  4. 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.

    Google Scholar 

  5. 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

    Google Scholar 

  6. E. Gagnon, L. Hendren. SableCC, an Object-Oriented Compiler Framework. McGill University, Quebec, Canada. June 1998.

    Google Scholar 

  7. 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.

    Google Scholar 

  8. S.E. Hudson. CUP parser generator for Java™. World-Wide Web page URL: http://www.cs.princeton.edu/~appel/modern/java/CUP/

    Google Scholar 

  9. S.C. Johnson. YACC — yet another compiler compiler. Technical Report Computing Science Technical Report 32, AT&T Bell Laboratories. Murray Hill, N.J.,1975.

    Google Scholar 

  10. Gerwin Klein. JFlex user’s manua”. URL: http://www.iflex.de. July 1999.

    Google Scholar 

  11. M. E. Lesk. Lex — a lexical analyzer generator. Technical Report Computing Science Technical Report 39, AT&T Bell Laboratories. Murray Hill, N.J.,1975.

    Google Scholar 

  12. Megelang Institute. ANTLR 2.7.0. World-Wide Web page URL: http://www.antlr.org/

    Google Scholar 

  13. David Megginson. SAX 2.0: The Simple API for XML. May 2000. URL: http://www.megginson.com/SAX/index.html

    Google Scholar 

  14. D. Roberts, R. Ralph Johnson. Evolving Frameworks: A pattern language for developing object oriented frameworks. University of Illinois, 1997.

    Google Scholar 

  15. JavaCC™. URL:http://www.cs.ukc.ac.uk/teaching/resources/java/iavacc/DOC/

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics