• Home
  • Search
  • Grammatical abstraction and incremental syntax analysis in a language-based editor
  • Cite Icon20
  • https://doi.org/10.1145/960116.54009Copy DOI Icon

Grammatical abstraction and incremental syntax analysis in a language-based editor

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Processors for programming languages and other formal languages typically use a concrete syntax to describe the user's view of a program and an abstract syntax to represent language structures internally. Grammatical abstraction is defined as a relationship between two context-free grammars. It formalizes the notion of one syntax being “more abstract” than another. Two variants of abstraction are presented. Weak grammatical abstraction supports (i) the construction during LR parsing of an internal representation that is closely related to the abstract syntax and (ii) incremental LR parsing using that internal representation as its base. Strong grammatical abstraction tightens the correspondence so that top-down construction of incrementally-parsable internal representations is possible. These results arise from an investigation into language-based editing systems, but apply to any program that transforms a linguistic object from a representation in its concrete syntax to a representation in its abstract syntax or vice versa.

Similar Papers
  • Research Article
  • Citations45

Internal representations, external representations and ergonomics: towards a theoretical integration

  • Jul 01, 2009
  • Theoretical Issues in Ergonomics Science
  • Miles Richardson +1
  • Book Chapter

Building the World from First Principles: Declarative Machine Descriptions and Compiler Construction

  • Jan 01, 2005
  • Norman Ramsey
  • Research Article

Design of graphics interface for computer-based biomedical applications

  • Jan 01, 1989
  • IEE Proceedings E Computers and Digital Techniques
  • M Zaki
  • Research Article
  • Citations1

Multithreaded parsing for predicting RNA secondary structures

  • Jan 01, 2010
  • International Journal of Bioinformatics Research and Applications
  • Muhammed S Al Mulhem
  • Research Article
  • Citations101

Constructing a mental representation from an abstract technical diagram

  • Jan 01, 1993
  • Learning and Instruction
  • Richard K Lowe
  • Single Book
  • Citations116

Parsing Beyond Context-Free Grammars

  • Jan 01, 2010
  • Laura Kallmeyer
  • PDF
  • Research Article
  • Citations3

The Interplay between Topic Shift and Focus in the Dynamic Construction of Discourse Representations

  • Dec 08, 2017
  • Frontiers in Psychology
  • Xiaohong Yang +4
  • Single Book
  • Citations41

Incremental Conceptualization for Language Production

  • Jul 24, 2020
  • Markus Guhe
  • Book Chapter
  • Citations5

The Construction of Cognitive Maps: An Introduction

  • Jan 01, 1996
  • Juval Portugali
  • Book Chapter
  • Citations11

Cognitive Cities: Intelligence, Environment and Space

  • Jan 01, 1997
  • Intelligent Environments
  • Marcos Novak
  • Research Article
  • Citations17

Generalized LR Parsing Algorithm for Grammars with One-Sided Contexts

  • Jun 06, 2016
  • Theory of Computing Systems
  • Mikhail Barash +1
  • Research Article
  • Citations10

Incremental parsing in language‐based editors: user needs and how to meet them

  • Oct 11, 2001
  • Software: Practice and Experience
  • Phil Cook +1
  • Conference Article
  • Citations5

A new parallel algorithm for generalized LR parsing

  • Jan 01, 1990
  • Hiroaki Numazaki +1
  • Research Article

Multiple context-free path querying by matrix multiplication

  • Apr 01, 2023
  • Scientific and Technical Journal of Information Technologies, Mechanics and Optics
  • I.V Epelbaum +2
  • Research Article
  • Citations4

A unifying model for lookahead LR parsing

  • Jan 01, 1991
  • Computer Languages
  • Manuel E Bermudez
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.