Associative definition of programming languages

Citation
Sc. Reghizzi et al., Associative definition of programming languages, COMPUT LANG, 26(2-4), 2000, pp. 105-123
Citations number
11
Categorie Soggetti
Computer Science & Engineering
Journal title
COMPUTER LANGUAGES
ISSN journal
00960551 → ACNP
Volume
26
Issue
2-4
Year of publication
2000
Pages
105 - 123
Database
ISI
SICI code
0096-0551(200007/12)26:2-4<105:ADOPL>2.0.ZU;2-O
Abstract
Associative language descriptions (ALD) are a recent grammar model, theoret ically less powerful than context free (CF) grammars, but adequate for desc ribing the syntax of programming languages. ALD does not use nonterminal sy mbols, but rely on permissible contexts for specifying valid syntax trees. In order to assess ALD adequacy, we analyze the descriptional complexity of structurally equivalent CF and ALD grammars, finding comparable measures. The compression obtained using CF copy rules is matched by context inherita nce in ALD. The family of hierarchical parentheses languages, an abstract p aradigm of HTML, and of expressions with operator precedences is studied. A complete ALD grammar of Pascal testifies of the practicality of the ALD ap proach. (C) 2001 Elsevier Science Ltd. All rights reserved.