Print Email Facebook Twitter Generating Editors for Embedded Languages: Integrating SGLR into IMP Title Generating Editors for Embedded Languages: Integrating SGLR into IMP Author Kats, L. Kalleberg, K.T. Visser, E. Faculty Electrical Engineering, Mathematics and Computer Science Department Software Computer Technology Date 2008-12-31 Abstract Preprint of paper published in: LDTA 2008: 8th Workshop on Language Descriptions, Tools and Applications, 5 April 2008 Integrated Development Environments (IDEs) increase productivity by providing a rich user interface and rapid feedback for a specific language. Creating an editor for a specific language is not a trivial undertaking, and is a cumbersome task even when working with an extensible framework such as Eclipse. A new IBMguided effort, the IMP framework, relieves the IDE developer from a significant portion of the required work by providing various abstractions for this. For embedded languages, such as embedded regular expressions, SQL queries, or code generation templates, its LALR parser generator falls short, however. Scannerless parsing with SGLR enables concise, modular definition of such languages. In this paper, we present an integration of SGLR into IMP, demonstrating that a scannerless parser can be successfully integrated into an IDE. Given an SDF syntax definition, the sdf2imp tool automatically generates an editor plugin based on the IMP API, complete with syntax checking, syntax highlighting, outline view, and code folding. Using declarative domain-specific languages, these services can be customized, and using the IMP metatooling framework it can be extended with other features. To reference this document use: http://resolver.tudelft.nl/uuid:acf2a439-53a3-4571-a99f-c42ba120b32b Publisher Delft University of Technology, Software Engineering Research Group ISSN 1872-5392 Source Technical Report Series TUD-SERG-2008-006 Part of collection Institutional Repository Document type report Rights (c) 2008 The Author(s) Files PDF TUD-SERG-2008-006.pdf 243.78 KB Close viewer /islandora/object/uuid:acf2a439-53a3-4571-a99f-c42ba120b32b/datastream/OBJ/view