Access the full text.
Sign up today, get DeepDyve free for 14 days.
References for this paper are not available at this time. We will be adding them shortly, thank you for your patience.
A survey of adaptable grammars Henning Christiansen Roskilde University Centre P.O. Box 260, DK-4000 Roskilde, Denmark E-mail: henning@dat.ruc.dk This paper is a comment on two recent contributions to Sigplan Notices. In his paper, "The static semantics file", no. 25/4, Brian Meek discusses the relevance of the notion of "static semantics". The relation between a variable's declaration and the restrictions on its use, for example, is usually classified as static semantics. Meek finds the designation rather misleading since it is applied for concepts concerned with context-dependent syntax. The term "semantics" should properly only be used for aspects that have to do with real meaning, e.g., the association between program statements and their intended computation. Here I will show that this distinction between syntax and semantics can be made clearer using grammars which adapt themselves to the current program contexts. For example, declarations of new items can be described by adding new rules to the grammar and thus, within a given scope of a program, the set of valid phrases can be derived freely by means of the current set of grammar rules. This way, we get rid of some of those - - often quite complicated-- context constraints that
ACM SIGPLAN Notices – Association for Computing Machinery
Published: Nov 1, 1990
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.