Towards tool support for spreadsheet-based domain-specific languages

Marian Sorin Adam, Ulrik Pagh Schultz

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Abstract

Spreadsheets are commonly used by non-programmers to store data in a structured form, this data can in some cases be considered to be a program in a domain-specific language (DSL). Unlike ordinary text-based domain-specific languages, there is however currently no formalism for expressing the syntax of such spreadsheet-based DSLs (SDSLs), and there is no tool support for automatically generating language infrastructure such as parsers and IDE support. In this paper we define a simple notion of two-dimensional grammars for SDSLs, and show how such grammars can be used for automatically generating parsers that extract structured data from a spreadsheet in the form of an AST. We demonstrate automatic generation of parsers for a number of examples, including the questionnaire DSL from LWC2014 and a DSL for writing safety specifications.
Original languageEnglish
Title of host publicationProceedings of the 2015 ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences
EditorsChristian Kastner, Aniruddha Gokhale
PublisherAssociation for Computing Machinery
Publication date26. Oct 2015
Pages95-98
ISBN (Electronic)978-1-4503-3687-1
DOIs
Publication statusPublished - 26. Oct 2015
Event2015 ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences - Pittsburgh, United States
Duration: 26. Oct 201527. Oct 2015
Conference number: GPCE

Conference

Conference2015 ACM SIGPLAN International Conference on Generative Programming
NumberGPCE
Country/TerritoryUnited States
CityPittsburgh
Period26/10/201527/10/2015

Keywords

  • Domain-specific language
  • Parser
  • Spreadsheet

Fingerprint

Dive into the research topics of 'Towards tool support for spreadsheet-based domain-specific languages'. Together they form a unique fingerprint.

Cite this