Towards tool support for spreadsheet-based domain-specific languages

Marian Sorin Adam, Ulrik Pagh Schultz

Publikation: Kapitel i bog/rapport/konference-proceedingKonferencebidrag i proceedingsForskningpeer review

Abstrakt

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.
OriginalsprogEngelsk
TitelProceedings of the 2015 ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences
RedaktørerChristian Kastner, Aniruddha Gokhale
ForlagAssociation for Computing Machinery
Publikationsdato26. okt. 2015
Sider95-98
ISBN (Elektronisk)978-1-4503-3687-1
DOI
StatusUdgivet - 26. okt. 2015
Begivenhed2015 ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences - Pittsburgh, USA
Varighed: 26. okt. 201527. okt. 2015
Konferencens nummer: GPCE

Konference

Konference2015 ACM SIGPLAN International Conference on Generative Programming
NummerGPCE
Land/OmrådeUSA
ByPittsburgh
Periode26/10/201527/10/2015

Fingeraftryk

Dyk ned i forskningsemnerne om 'Towards tool support for spreadsheet-based domain-specific languages'. Sammen danner de et unikt fingeraftryk.

Citationsformater