[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
article
Free access

A new method for determining linear precedence functions for precedence grammars

Published: 01 October 1969 Publication History

Abstract

The precedence relations of a precedence grammar can be precisely described by a two-dimensional precedence matrix. Often the information in the matrix can be represented more concisely by a pair of vectors, called linear precedence functions. A new algorithm is presented for obtaining the linear precedence functions when given the precedence matrix; this algorithm is shown to possess several computational adavantages.

References

[1]
WIRTH, N. AND WEBER, H. EULER-a generalization of ALGOL and its formal definition. Pt. 1 and Pt. 2. Comm. ACM 9, 2-3, (Jan-Feb. 1966), 13-23 and 89-99.
[2]
FELDMAN, J., AND CRIES, D. Translator writing systems. Comm. ACM 11, 2, (Feb. 1968), 77-113.
[3]
KcKEEMAN, W. M. An approach to computer language design. Tech. Rep. CS 48, Computer Science Dept., Stanford U., Stanford, Calif., Aug. 1966.
[4]
FLOYD, R. W. Syntactic analysis and operator precedence. J. ACM 10, 3 (July 1963), 316-333.
[5]
WIRTH, N. Algorithm 265: Find precedence functions. Comm. ACM 8, 10 (Oct. 1965) 604-605.
[6]
WARSHALL, S. A theorem on Boolean matrices. J. ACM, 9, 1 (Jan. 1962), 11-12.
[7]
FLOYD, R. W. Algorithm 96: Ancestor. Comm. ACM 5, 6 (June 1962), 344-345.

Cited By

View all
  • (2016)Dynamic epistemic logic in update logicJournal of Logic and Computation10.1093/logcom/exw00226:6(1913-1960)Online publication date: 7-Mar-2016
  • (2016)Towards a Unified View of Modeling and ProgrammingLeveraging Applications of Formal Methods, Verification and Validation: Discussion, Dissemination, Applications10.1007/978-3-319-47169-3_17(238-257)Online publication date: 5-Oct-2016
  • (2016)Recursion Equations as a Programming LanguageA List of Successes That Can Change the World10.1007/978-3-319-30936-1_24(459-478)Online publication date: 25-Mar-2016
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Communications of the ACM
Communications of the ACM  Volume 12, Issue 10
Oct. 1969
69 pages
ISSN:0001-0782
EISSN:1557-7317
DOI:10.1145/363235
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 October 1969
Published in CACM Volume 12, Issue 10

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Boolean matrices
  2. context-free parsing
  3. precedence functions
  4. precedence grammar
  5. syntax
  6. transition matrix

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)368
  • Downloads (Last 6 weeks)21
Reflects downloads up to 13 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2016)Dynamic epistemic logic in update logicJournal of Logic and Computation10.1093/logcom/exw00226:6(1913-1960)Online publication date: 7-Mar-2016
  • (2016)Towards a Unified View of Modeling and ProgrammingLeveraging Applications of Formal Methods, Verification and Validation: Discussion, Dissemination, Applications10.1007/978-3-319-47169-3_17(238-257)Online publication date: 5-Oct-2016
  • (2016)Recursion Equations as a Programming LanguageA List of Successes That Can Change the World10.1007/978-3-319-30936-1_24(459-478)Online publication date: 25-Mar-2016
  • (2010)Linear precedence functions for weak precedence grammarsInternational Journal of Computer Mathematics10.1080/002071672088030593:1-4(149-155)Online publication date: 21-Dec-2010
  • (2005)A proof system for the language POOLFoundations of Object-Oriented Languages10.1007/BFb0019442(124-150)Online publication date: 9-Jun-2005
  • (2005)A conceptual and formal model of a diagnostic reasonerAdvances in Knowledge Acquisition10.1007/3-540-61273-4_6(82-97)Online publication date: 1-Jun-2005
  • (2005)On the verification of modulesCSL '8910.1007/3-540-52753-2_30(16-35)Online publication date: 8-Jun-2005
  • (1995)Reasoning about update logicJournal of Philosophical Logic10.1007/BF0105272924:1(19-45)Online publication date: Feb-1995
  • (1994)The verification of modulesFormal Aspects of Computing10.1007/BF012211006:2(223-244)Online publication date: Mar-1994
  • (1994)Reasoning about dynamically evolving process structuresFormal Aspects of Computing10.1007/BF012154086:3(269-316)Online publication date: May-1994
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media