Premium
A semantically‐based formatting discipline for Pascal
Author(s) -
Bailes Paul A.,
Salvadori Antonio
Publication year - 1984
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.4380140304
Subject(s) - disk formatting , pascal (unit) , computer science , programming language , syntax , abstract syntax , representation (politics) , natural language processing , theoretical computer science , politics , political science , law , operating system
Abstract The abstract (or semantic) syntax of the Pascal language is identified, and a linear representation for the trees so formed within the framework of the concrete syntax for that language is imposed. The indentation scheme so formed, augmented with a small number of pragmatic considerations, is compared with several previously proposed formatting schemes for Pascal and an example of the use of this new method is given.