Print Email Facebook Twitter Declarative specification of template-based textual editors Title Declarative specification of template-based textual editors Author Vollebregt, T.J. Contributor Visser, E. (mentor) Kats, L.C.L. (mentor) Veldhuijzen van Zanten, G.E. (mentor) Faculty Electrical Engineering, Mathematics and Computer Science Department Computer Science Programme Software Engineering Research Group Date 2012-04-16 Abstract Syntax discoverability has been a crucial advantage of structure editors for new users of a language. Despite this advantage, structure editors have not been widely adopted. Nevertheless, the Cheetah system, developed at Capgemini, leverages a structure editor to aid domain experts modeling tax-benefit rules in a domain specific language. The structure editor suffers from a lack of free form editing and conversions from/to plain text. The Spoofax language workbench, developed at Delft University of Technology, uses a textual editor, which is syntax-aware due to immediate parsing and analyses. In this thesis we describe a migration from Cheetah to Spoofax, which aims to bring the advantages of text editing to the tax-benefit rule modeling language. During the migration, we experienced that current text-based language workbenches, such as Spoofax, require redundant specification of the ingredients for a template-based editor, which is detrimental to the quality of syntactic completion, as consistency and completeness of the definition cannot be guaranteed. We describe the design and implementation of a specification language for syntax definition based on templates. It unifies the specification of parser, pretty printer and template-based editor. We evaluate the template language by application to the tax-benefit rule modeling language and a language for mobile web applications. Subject domain specific languageslanguage workbenchespretty printingeditorslanguage specificationsyntax definitionspoofax To reference this document use: http://resolver.tudelft.nl/uuid:8907468c-b102-4a35-aa84-d49bb2110541 Part of collection Student theses Document type master thesis Rights (c) 2012 Vollebregt, T.J. Files PDF thesis-final.pdf 8.42 MB Close viewer /islandora/object/uuid:8907468c-b102-4a35-aa84-d49bb2110541/datastream/OBJ/view