2011 | OriginalPaper | Chapter
Interactive Disambiguation of Meta Programs with Concrete Object Syntax
Authors : Lennart C. L. Kats, Karl T. Kalleberg, Eelco Visser
Published in: Software Language Engineering
Publisher: Springer Berlin Heidelberg
Activate our intelligent search to find suitable subject content or patents.
Select sections of text to find matching patents with Artificial Intelligence. powered by
Select sections of text to find additional relevant content using AI-assisted search. powered by
In meta-programming with concrete object syntax, meta programs can be written using the concrete syntax of manipulated programs. Quotations of concrete syntax fragments and anti-quotations for meta-level expressions and variables are used to manipulate the abstract representation of programs. These small, isolated fragments are often ambiguous and must be explicitly disambiguated with quotation tags or types, using names from the non-terminals of the object language syntax. Discoverability of these names has been an open issue, as they depend on the (grammar) implementation and are not part of the concrete syntax of a language. Based on advances in interactive development environments, we introduce
interactive disambiguation
to address this issue, providing real-time feedback and proposing quick fixes in case of ambiguities.