Sciweavers

GPCE
2005
Springer

Generalized Type-Based Disambiguation of Meta Programs with Concrete Object Syntax

14 years 5 months ago
Generalized Type-Based Disambiguation of Meta Programs with Concrete Object Syntax
Abstract. In meta programming with concrete object syntax, object-level programs are composed from fragments written in concrete syntax. The use of small program fragments in such quotations and the use of meta-level expressions within these fragments (anti-quotation) often leads to ambiguities. This problem is usually solved through explicit disambiguation, resulting in considerable syntactic overhead. A few systems manage to reduce this overhead by using type information during parsing. Since this is hard to achieve with traditional parsing technology, these systems provide specific combinations of meta and object languages, and their implementations are difficult to reuse. In this paper, we generalize these approaches and present a language independent method for introducing concrete object syntax without explicit disambiguation. The method uses scannerless generalized-LR parsing to parse meta programs with embedded objectlevel fragments, which produces a forest of all possible pa...
Martin Bravenboer, Rob Vermaas, Jurgen J. Vinju, E
Added 27 Jun 2010
Updated 27 Jun 2010
Type Conference
Year 2005
Where GPCE
Authors Martin Bravenboer, Rob Vermaas, Jurgen J. Vinju, Eelco Visser
Comments (0)