Title: Scripting an IDE for EDSL awareness
Authors: Sergey, Ilya
Gromov, Peter
Clarke, Dave
Issue Date: Jul-2011
Publisher: Department of Computer Science, K.U.Leuven
Series Title: CW Reports vol:CW608
Abstract: Modern dynamic programming languages provide various mechanisms to implement embedded domain-specific languages (EDSLs), usually based on the meta-object protocol or delegation. The main disadvantages of this approach are the difficulty of statically analyzing domain-specific constraints and providing reasonable code navigation in an existing integrated development environment (IDE),even when the IDE is aware of the host language's semantics. In this paper we present GroovyDSL, a flexible framework for describing semantics-based code assistance for custom EDSLs. GroovyDSL is based on the IntelliJ IDEA environment and allows a developer to add new rules to implement EDSL-aware references resolution and smart code completion. We present a fully implemented small language to describe such rules in a natural way for an EDSL, based on the Groovy programming language, abstracting from the IDE's internal language representation.
Publication status: published
KU Leuven publication type: IR
Appears in Collections:Informatics Section

Files in This Item:
File Description Status SizeFormat
CW608.pdfDocument Published 433KbAdobe PDFView/Open


All items in Lirias are protected by copyright, with all rights reserved.