Regular Right Part Grammars and Their Parsers.
Saved in:
| Title: | Regular Right Part Grammars and Their Parsers. |
|---|---|
| Authors: | Lalonde, Wilf R.1, Horning, J. J. |
| Source: | Communications of the ACM. Oct1977, Vol. 20 Issue 10, p731-741. 11p. 26 Diagrams. |
| Subjects: | Pascal (Computer program language), Programming languages, Concurrent Pascal (Computer program language), Electronic data processing, Artificial languages, Graphic methods |
| Abstract: | This paper introduces an alternative lo context-free grammars called regular right part (RRP) grammars, which resemble PASCAL syntax diagrams. Formally, RRP grammars have production right parts, which are nondeterministic finite state machines (FSMs), and, as a special case, regular expressions, since these can be converted to FSMs. RRP grammars describe the syntax of programming languages more concisely and more understandably than is possible with CF grammars. Also introduced is a class of parsers, RRP LR(m, k) parsers, which includes the CF LR(k) parsers and provides the same advantages. Informally, an RRP LR(m, k) parser can determine the right end of each handle by considering at most k symbols to the right of the handle and the left end, after the right end has been found, by considering at most m symbols to the left of the handle. A mechanism for determining the left end is required because there is no bound on the length of the handle. [ABSTRACT FROM AUTHOR] |
| Copyright of Communications of the ACM is the property of Association for Computing Machinery and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) | |
| Database: | Engineering Source |
| FullText | Links: – Type: pdflink Text: Availability: 0 |
|---|---|
| Header | DbId: egs DbLabel: Engineering Source An: 5597211 AccessLevel: 6 PubType: Periodical PubTypeId: serialPeriodical PreciseRelevancyScore: 0 |
| IllustrationInfo | |
| Items | – Name: Title Label: Title Group: Ti Data: Regular Right Part Grammars and Their Parsers. – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Lalonde%2C+Wilf+R%2E%22">Lalonde, Wilf R.</searchLink><relatesTo>1</relatesTo><br /><searchLink fieldCode="AR" term="%22Horning%2C+J%2E+J%2E%22">Horning, J. J.</searchLink> – Name: TitleSource Label: Source Group: Src Data: <searchLink fieldCode="JN" term="%22Communications+of+the+ACM%22">Communications of the ACM</searchLink>. Oct1977, Vol. 20 Issue 10, p731-741. 11p. 26 Diagrams. – Name: Subject Label: Subjects Group: Su Data: <searchLink fieldCode="DE" term="%22Pascal+%28Computer+program+language%29%22">Pascal (Computer program language)</searchLink><br /><searchLink fieldCode="DE" term="%22Programming+languages%22">Programming languages</searchLink><br /><searchLink fieldCode="DE" term="%22Concurrent+Pascal+%28Computer+program+language%29%22">Concurrent Pascal (Computer program language)</searchLink><br /><searchLink fieldCode="DE" term="%22Electronic+data+processing%22">Electronic data processing</searchLink><br /><searchLink fieldCode="DE" term="%22Artificial+languages%22">Artificial languages</searchLink><br /><searchLink fieldCode="DE" term="%22Graphic+methods%22">Graphic methods</searchLink> – Name: Abstract Label: Abstract Group: Ab Data: This paper introduces an alternative lo context-free grammars called regular right part (RRP) grammars, which resemble PASCAL syntax diagrams. Formally, RRP grammars have production right parts, which are nondeterministic finite state machines (FSMs), and, as a special case, regular expressions, since these can be converted to FSMs. RRP grammars describe the syntax of programming languages more concisely and more understandably than is possible with CF grammars. Also introduced is a class of parsers, RRP LR(m, k) parsers, which includes the CF LR(k) parsers and provides the same advantages. Informally, an RRP LR(m, k) parser can determine the right end of each handle by considering at most k symbols to the right of the handle and the left end, after the right end has been found, by considering at most m symbols to the left of the handle. A mechanism for determining the left end is required because there is no bound on the length of the handle. [ABSTRACT FROM AUTHOR] – Name: AbstractSuppliedCopyright Label: Group: Ab Data: <i>Copyright of Communications of the ACM is the property of Association for Computing Machinery and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.) |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=egs&AN=5597211 |
| RecordInfo | BibRecord: BibEntity: Identifiers: – Type: doi Value: 10.1145/359842.359853 Languages: – Code: eng Text: English PhysicalDescription: Pagination: PageCount: 11 StartPage: 731 Subjects: – SubjectFull: Pascal (Computer program language) Type: general – SubjectFull: Programming languages Type: general – SubjectFull: Concurrent Pascal (Computer program language) Type: general – SubjectFull: Electronic data processing Type: general – SubjectFull: Artificial languages Type: general – SubjectFull: Graphic methods Type: general Titles: – TitleFull: Regular Right Part Grammars and Their Parsers. Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Lalonde, Wilf R. – PersonEntity: Name: NameFull: Horning, J. J. IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 10 Text: Oct1977 Type: published Y: 1977 Identifiers: – Type: issn-print Value: 00010782 Numbering: – Type: volume Value: 20 – Type: issue Value: 10 Titles: – TitleFull: Communications of the ACM Type: main |
| ResultId | 1 |