Access the full text.
Sign up today, get DeepDyve free for 14 days.
Extending Context-Free Grammars with Permutation Phrases ROBERT D. CAMERON Simon Fraser University A permutation phrase is a grammatical phrase that specifies a syntactic construct as any permutation of a set of constituent elements. Permutation phrases allow for the concise and natural expression of free-order constructs as found in programming languages and notations such as C, Cobol, BIBTEX, and Unix command lines. The conciseness and clarity of expression that permutation phrase grammars offer over context-free grammars areillustrated througha case study of the declarations in C. The parsing problem for permutation phrase grammars is considered, and it is shown how efficient linear-time parsing can be achieved for permutation phrase grammars satisfying an extended notion of the LL(l) property. Languages]: Formal Definitions and Subject Descriptors: D.3. 1 [Programming and Theo~ s@ax; D.3.4 [Programming Languages]: Processors parsing; F.4.2 [Mathematical Logic and Formal Languages]: Grammars and Other Rewriting Systems grammar Categories types General Additional phrase Terms: Documentation, Key Words Languages, Standardization grammar, free-order construct, permutation and Phrases: Context-free 1, INTRODUCTION Many ples programming in in 1986] Systems which attribute Cobol and include languages the order specifiers [ANSI 1986]. and in other C formal elements notations [ANSI in of BIBTEX various grammars This handle
ACM Letters on Programming Languages and Systems (LOPLAS) – Association for Computing Machinery
Published: Mar 1, 1993
Read and print from thousands of top scholarly journals.
Already have an account? Log in
Bookmark this article. You can see your Bookmarks on your DeepDyve Library.
To save an article, log in first, or sign up for a DeepDyve account if you don’t already have one.
Copy and paste the desired citation format or use the link below to download a file formatted for EndNote
Access the full text.
Sign up today, get DeepDyve free for 14 days.
All DeepDyve websites use cookies to improve your online experience. They were placed on your computer when you launched this website. You can change your cookie settings through your browser.