Contact us Heritage collections Image license terms
HOME ACL Associates Technology Literature Applications Society Software revisited
Further reading □ Overview1968: Camper1970: Moving charges1970: OU Maths1970: Film producers1970: FOCUS1971: First Order Reactions1971: Reactions1971: Syntactic Dominoes1971: Square Well1971: Tomorrow's World1968-75: Galaxy Evolution1971: Symposium1972: When polar bears swam the Thames1972: Aerial Synthesis1973-81: Eilbeck1973: Physex 21973: HPD Queue1974: Orbits in a Hyperbolic Well1973-75: Galaxies1975: PIGS1975: Serpents Egg1975: Finite Elements1976: Alien
ACD C&A INF CCD CISD Archives Contact us Heritage archives Image license terms

Search

   
ACLApplicationsAnimation
ACLApplicationsAnimation
ACL ACD C&A INF CCD CISD Archives
Further reading

Overview
1968: Camper
1970: Moving charges
1970: OU Maths
1970: Film producers
1970: FOCUS
1971: First Order Reactions
1971: Reactions
1971: Syntactic Dominoes
1971: Square Well
1971: Tomorrow's World
1968-75: Galaxy Evolution
1971: Symposium
1972: When polar bears swam the Thames
1972: Aerial Synthesis
1973-81: Eilbeck
1973: Physex 2
1973: HPD Queue
1974: Orbits in a Hyperbolic Well
1973-75: Galaxies
1975: PIGS
1975: Serpents Egg
1975: Finite Elements
1976: Alien

Syntactic Dominoes

Mary Stapley, Bob Hopgood

1971

Syntactic Dominoes (1971)

Syntactic Dominoes was used to describe different parsing algorithms in a Compiling Techniques Course at Brunel University that ran from 1969 until 1985. the film was also made available to other UK universities.

The original idea came from Tom Cheatham at Computer Associates in 1968:

Syntactic Dominoes can be viewed as a game, not unlike the childrens game of dominoes, in which one has "syntactic" dominoes corresponding to the various syntax rules of the grammar as well as the symbols of the source text and the "goal" (or root of the analysis tree). The construction of the analysis tree can now be viewed as a game; the construction of the analysis tree corresponds to choosing and placing syntactic dominoes so as, in the end, to have all edges abutted. The various methods of syntactic analysis (i.e. various ways of constructing the analysis tree) can be viewed as strategies of play of the game.

We then develop "top-down", "left-corner-bottom-up" and "direct reductions" strategies of play; these strategies arc very easily comprehended and, when comprehended, ensure that the student really understands the basic mechanisms required for the three kinds of analysis. Following this we formalize the dominoes and the strategies as AMBIT/G data objects and programs; this has the very distinct advantage that the two-dimensional aspect (the representation of trees and so on) Is indirectly modelled.

ARPA Project 1228: RESEARCH IN MACHINE-INDEPENDENT SOFTWARE PROGRAMMING

A set of dominoes are created that correspond to the grammar rules for the language to be parsed.

At the top is the goal dominoe and at the bottom are a set of dominoes that represent the input to be parsed.

The game consists of adding dominoes to the board that match either the bottom of the goal or the top of the inputs. The pieces are elastic so that they can be made larger or smaller to fit. The aim is to complete the game with all the pieces being fully connected top and bottom. The film shows three different parsing strategies: top-down, bottom-up, and reduction analysis.

The film is aimed at getting the general principles understood before the individual parsing algorithms are described. See Chapter 7, Compiling Techniques.

⇑ Top of page
© Chilton Computing and UKRI Science and Technology Facilities Council webmaster@chilton-computing.org.uk
Our thanks to UKRI Science and Technology Facilities Council for hosting this site