Abstract
A transformation system can be viewed as a general case of a compiler. This paper introduces a new concept to generate such transformation systems (e.g., compilers), a so called generic compiler. A first version of the generic compiler is described: GenComp, which is the abbreviation for a generic compiler. It first reads a formal description in form of an attributed grammar and then interprets this description in order to transform an input in the source language to an output in the target language.
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
Tofte, M.: Compiler Generators. Springer, Heidelberg (1990)
Yellin, D.M.: Attribute Grammar Inversion and Source-to-source Translation. Springer, Heidelberg (1988)
Levine, J.R., Manson, T., Brown, D.: Lex & Yacc. O’Reilly, Sebastopol (1992)
Dobler, H., Pirklbauer, K.: Coco-2, A New Compiler Compiler, Johannes Kepler Univerisität Linz, Institut für Informatik. ACM, New York (1990)
Metamata: Java Compiler Compiler – The Java Parser Generator (2010), https://javacc.dev.java.net/doc/docindex.html
Java: The Java Tutorial. Sun Microsystems, Inc. (2010), http://java.sun.com/docs/books/tutorial/index.html
Aho, A.V., Lam, M.S., Sethi, R., Ullman, J.D.: Compilers Principles, Techniques, & Tools. Addison Wesley Pub. Co. Inc., Reading (2007)
Zakas, N.C.: JavaScript for Web Developers, 2nd edn. Wiley Publishing, Chichester (2009)
Gamma, E., Helm, R., Johnson, R.E., Vlissides, J.: Design Patterns Elements of Reusable Object-Oriented Software. Addison Wesley Longman, Amsterdam (1995)
Bosanac, D.: Scripting in Java: Languages, Frameworks, and Patterns. Addison-Wesley, Reading (2008)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Chen, Q., Dobler, H. (2012). GenComp – A Generic Transformation System. In: Moreno-Díaz, R., Pichler, F., Quesada-Arencibia, A. (eds) Computer Aided Systems Theory – EUROCAST 2011. EUROCAST 2011. Lecture Notes in Computer Science, vol 6927. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-27549-4_19
Download citation
DOI: https://doi.org/10.1007/978-3-642-27549-4_19
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-27548-7
Online ISBN: 978-3-642-27549-4
eBook Packages: Computer ScienceComputer Science (R0)