Skip to search boxSkip to navigationSkip to main content

Syntactic Language Extension via an Algebra of Languages and Transformations

Research Output:
Journal Article or Conference Article in Journal
Conference article
Peer-review

Publication Information

Output type

Research Output:
Journal Article or Conference Article in Journal
Conference article
Peer-review

Original language

English

Pages from-to (Number of pages)

Pages 19-35

Journal (Volume, Issue Number)

Electronic Notes in Theoretical Computer Science (Volume 253, Issue 7)

Publication milestones

  • Published - 2010

Publication status

Published - 2010

ISSN

1571-0661

Publication IDs

  • Scopus: 77956401144

Abstract

We propose an algebra of languages and transformations as a means for extending
languages syntactically. The algebra provides a layer of high-level abstractions
built on top of languages (captured by context-free grammars) and transformations
(captured by constructive catamorphisms).
The algebra is self-contained in that any term of the algebra specifying a transformation
can be reduced to a catamorphism, before the transformation is run. Thus,
the algebra comes "for free" without sacri cing the strong safety and efficiency
properties of constructive catamorphisms.
The entire algebra as presented in the paper is implemented as the Banana Algebra
Tool which may be used to syntactically extend languages in an incremental
and modular fashion via algebraic composition of previously de ned languages and
transformations. We demonstrate and evaluate the tool via several kinds of extensions.

Publication metrics

PlumX

Citations
1
Captures
16

Related Event

Title

Language Descriptions, Tools, and Applications (LDTA)

Event type

Conference

Date

27/03/2009 - 28/03/2009

Location

YorkUnited Kingdom